Skip to content

Commit

Permalink
Adding a playbook for managing RH subscription and Insights
Browse files Browse the repository at this point in the history
https://linux-system-roles.github.io/rhc/

closes OSPRH-11938

Signed-off-by: Fabricio Aguiar <[email protected]>
  • Loading branch information
fao89 committed Dec 4, 2024
1 parent ef239bb commit bbd3471
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions playbooks/redhat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---

- name: RH subscription management and Insights
hosts: "{{ edpm_override_hosts | default('all', true) }}"
strategy: linear
gather_facts: "{{ gather_facts | default(false) }}"
any_errors_fatal: "{{ edpm_any_errors_fatal | default(true) }}"
max_fail_percentage: "{{ edpm_max_fail_percentage | default(0) }}"
tasks:
- name: Load system-roles.rhc tasks
ansible.builtin.include_role:
name: "{{ lookup('ansible.builtin.env', 'EDPM_SYSTEMROLES', default='redhat.rhel_system_roles') + '.rhc' }}"
when: (ansible_facts['distribution'] | lower) == 'redhat'
tags:
- edpm_bootstrap

0 comments on commit bbd3471

Please sign in to comment.