summaryrefslogtreecommitdiffstats
path: root/roles/ansible
diff options
context:
space:
mode:
Diffstat (limited to 'roles/ansible')
-rw-r--r--roles/ansible/tasks/main.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/roles/ansible/tasks/main.yml b/roles/ansible/tasks/main.yml
index 5d20a3b35..2a6ac7713 100644
--- a/roles/ansible/tasks/main.yml
+++ b/roles/ansible/tasks/main.yml
@@ -2,9 +2,7 @@
# Install ansible client
- name: Install Ansible
- yum:
- pkg: ansible
- state: installed
+ action: "{{ ansible_pkg_mgr }} name=ansible state=present"
- include: config.yml
vars: