Skip to content

Commit

Permalink
Removed deprecated option from Red Hat subscription.
Browse files Browse the repository at this point in the history
  • Loading branch information
trippsc2 committed Sep 10, 2024
1 parent bb63eab commit 603f36a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
namespace: trippsc2
name: first_steps
version: 1.0.9
version: 1.0.10
readme: README.md
authors:
- Jim Tarpley
Expand Down
2 changes: 1 addition & 1 deletion roles/debian/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- BEGIN_ANSIBLE_DOCS -->

# Ansible Role: trippsc2.first_steps.debian
Version: 1.0.9
Version: 1.0.10

This role performs first steps on a freshly installed Debian system.

Expand Down
3 changes: 1 addition & 2 deletions roles/rhel/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- BEGIN_ANSIBLE_DOCS -->

# Ansible Role: trippsc2.first_steps.rhel
Version: 1.0.9
Version: 1.0.10

This role performs first steps on a freshly installed RHEL-based system.

Expand All @@ -27,7 +27,6 @@ This role performs first steps on a freshly installed RHEL-based system.
| rhel_subscription_syspurpose_usage | <p>System purpose usage.</p><p>Required for RHEL only.</p> | str | no | | |
| rhel_subscription_syspurpose_service_level_agreement | <p>System purpose service level agreement.</p><p>Required for RHEL only.</p> | str | no | | |
| rhel_subscription_syspurpose_sync | <p>System purpose sync.</p><p>Required for RHEL only.</p> | bool | no | | false |
| rhel_subscription_pool | <p>Subscription pool.</p><p>Required for RHEL only.</p> | str | no | | |


## License
Expand Down
6 changes: 0 additions & 6 deletions roles/rhel/meta/argument_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,3 @@ argument_specs:
description:
- System purpose sync.
- Required for RHEL only.
rhel_subscription_pool:
type: str
required: false
description:
- Subscription pool.
- Required for RHEL only.
3 changes: 2 additions & 1 deletion roles/rhel/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
ansible.builtin.assert:
that:
- ansible_os_family == "RedHat"
fail_msg: "This role is only supported on RHEL based distributions."
success_msg: "This role is supported on RHEL based distributions."

- name: Install RHEL subscription
when:
Expand All @@ -28,7 +30,6 @@
usage: "{{ rhel_subscription_syspurpose_usage }}"
service_level_agreement: "{{ rhel_subscription_syspurpose_service_level_agreement }}"
sync: "{{ rhel_subscription_syspurpose_sync }}"
pool: "{{ rhel_subscription_pool }}"

- name: Install SETroubleshoot package
become: true
Expand Down
2 changes: 1 addition & 1 deletion roles/ubuntu/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- BEGIN_ANSIBLE_DOCS -->

# Ansible Role: trippsc2.first_steps.ubuntu
Version: 1.0.9
Version: 1.0.10

This role performs first steps on a freshly installed Ubuntu system.

Expand Down

0 comments on commit 603f36a

Please sign in to comment.