From: David Galloway Date: Wed, 26 Feb 2020 19:33:36 +0000 (-0500) Subject: Adding Fedora 31 support to the common role X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=75ac149b5f0eab7fcab5ece5d7c1eb605302f790;p=ceph-cm-ansible.git Adding Fedora 31 support to the common role testnodes: add vars for opensuse_leap_15.2 --- 75ac149b5f0eab7fcab5ece5d7c1eb605302f790 diff --cc roles/common/tasks/nagios.yml index 34e8b55,34e8b55..f7610bf --- a/roles/common/tasks/nagios.yml +++ b/roles/common/tasks/nagios.yml @@@ -40,11 -40,11 +40,11 @@@ - ansible_os_family == "RedHat" - have_epel.rc == 0 --- name: Install nrpe package and dependencies (Ubuntu) ++- name: Install nrpe package and dependencies (Ubuntu/Fedora) package: name: "{{ nrpe_packages|list }}" state: latest -- when: ansible_pkg_mgr == "apt" ++ when: ansible_pkg_mgr == "apt" or ansible_distribution == "Fedora" - name: Upload nagios sudoers.d for raid utilities. template: diff --cc roles/common/vars/fedora_31.yml index 0000000,0000000..087e67a new file mode 100644 --- /dev/null +++ b/roles/common/vars/fedora_31.yml @@@ -1,0 -1,0 +1,4 @@@ ++--- ++nrpe_selinux_packages: ++ - python-libsemanage ++ - policycoreutils-python-utils