diff --git a/tasks/horizon_install.yml b/tasks/horizon_install.yml index ef09b668..a1e6370d 100644 --- a/tasks/horizon_install.yml +++ b/tasks/horizon_install.yml @@ -24,7 +24,7 @@ - { path: "/etc/pki/tls/certs", owner: "root", group: "root" } - { path: "/etc/pki/tls/private", owner: "root", group: "root" } - { path: "/var/log/httpd", mode: "2755" } - when: ansible_pkg_mgr == 'yum' + when: ansible_pkg_mgr in ['yum', 'dnf'] - name: Create system links file: @@ -35,7 +35,7 @@ - { src: "/etc/pki/tls/certs", dest: "/etc/ssl/certs" } - { src: "/etc/pki/tls/private", dest: "/etc/ssl/private" } - { src: "/var/log/httpd", dest: "/var/log/apache2" } - when: ansible_pkg_mgr == 'yum' + when: ansible_pkg_mgr in ['yum', 'dnf'] - name: Install distro packages package: @@ -147,7 +147,7 @@ path: "{{ horizon_bin | dirname }}/bin/python2.7" state: "absent" when: - - ansible_pkg_mgr == 'yum' + - ansible_pkg_mgr in ['yum', 'dnf'] - horizon_get_venv | changed - name: Update virtualenv path