aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ansible/roles/common/tasks/main.yml14
1 files changed, 7 insertions, 7 deletions
diff --git a/ansible/roles/common/tasks/main.yml b/ansible/roles/common/tasks/main.yml
index 7b402c3..e573383 100644
--- a/ansible/roles/common/tasks/main.yml
+++ b/ansible/roles/common/tasks/main.yml
@@ -6,10 +6,10 @@
git: repo={{ git_repo }} dest=/opt/gondul update=no accept_hostkey=yes version={{ git_branch }}
- name: Install basic packages
- action: >
- {{ ansible_pkg_mgr }} name={{ item }} state=present update_cache=yes
- with_items:
- - curl
- - vim
- - git
- - iptables-persistent \ No newline at end of file
+ apt:
+ name: [
+ 'curl',
+ 'vim',
+ 'git',
+ 'iptables-persistent']
+ state: present