diff options
author | Lasse Haugen <haugen.lasse@gmail.com> | 2019-01-14 23:06:41 +0100 |
---|---|---|
committer | Lasse Haugen <haugen.lasse@gmail.com> | 2019-01-14 23:06:41 +0100 |
commit | ffd8a012c81534fe39eae2a8033679d15ca92abc (patch) | |
tree | ace8366f24d6986649f3ecb779d5a09681d57e5a /ansible | |
parent | aedafb4fb169be914782e4b72503e655b7e1bc41 (diff) |
change to apt module
Diffstat (limited to 'ansible')
-rw-r--r-- | ansible/roles/common/tasks/main.yml | 14 |
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 |