diff --git a/playbooks/redhat.yml b/playbooks/redhat.yml new file mode 100644 index 000000000..9585d1e96 --- /dev/null +++ b/playbooks/redhat.yml @@ -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