Refactor base setup. Add roles for DHCP/DNS.

This commit is contained in:
2020-06-28 10:49:54 -04:00
parent ded4e9279a
commit 5afdb44488
4 changed files with 160 additions and 19 deletions

View File

@@ -13,4 +13,8 @@
- name: oatakan.windows_ovirt_guest_agent
- name: oatakan.windows_virtio
- name: ikke_t.podman_container_systemd
- name: ikke_t.container_image_cleanup
- name: ikke_t.container_image_cleanup
# Infra
- name: bertvv.bind
- name: bertvv.dhcp

View File

@@ -7,36 +7,33 @@
name: rhel-7-server-rh-common-rpms
state: present
when:
- ansible_os_family == "RedHat"
- ansible_distribution_major_version == '7'
- name: Guest Tools Repository
rhsm_repository:
name: rhel-8-for-x86_64-appstream-rpms
state: present
when:
- ansible_os_family == "RedHat"
- ansible_distribution_major_version == '8'
- name: Install ovirt-guest-agent on RHV Guests
yum:
name: ovirt-guest-agent
state: present
notify: Ovirt Agent Restart
when:
- ansible_os_family == "RedHat"
- ansible_distribution_major_version == '7'
- name: Guest Tools Repository
rhsm_repository:
name: rhel-8-for-x86_64-appstream-rpms
state: present
when:
- ansible_distribution_major_version == '8'
- name: Install qemu-guest agent on RHEL8 Guest
yum:
name: qemu-guest-agent
state: present
notify: Qemu Agent Restart
when:
- ansible_os_family == "RedHat"
- ansible_distribution_major_version == '8'
when:
- ansible_os_family == "RedHat"
- ansible_virtualization_type == "RHEV"
- name: Install katello-agent on Satellite managed systems
@@ -49,13 +46,13 @@
yum:
name: insights-client
state: present
when: ansible_os_family == "RedHat"
when: ansible_distribution == "RedHat"
- name: Performance Co-Pilot
yum:
name:
- pcp
- cockpit-pcp
- pcp-system-tools
- pcp-zeroconf
- cockpit-pcp
- pcp-pmda-trace
- pcp-selinux