Switch from yum to package when installing sudo so that dnf is handled as well

pull/13663/head
Toshio Kuratomi 9 years ago
parent ba0b4afb6b
commit 454c8ff5b8

@ -4,14 +4,8 @@
when: ansible_os_family == 'Debian'
- name: Install sudo
yum: name=sudo state=installed
package: name=sudo state=installed
ignore_errors: true
when: ansible_os_family == 'RedHat'
- name: Install sudo
apt: name=sudo state=installed
ignore_errors: true
when: ansible_os_family == 'Debian'
- name: Install RH epel
yum: name="epel-release" state=installed

Loading…
Cancel
Save