diff options
-rw-r--r-- | ansible/all.yml | 4 | ||||
-rw-r--r-- | ansible/group_vars/all/packages.yml | 6 | ||||
-rw-r--r-- | ansible/roles/packages/tasks/main.yml | 1 |
3 files changed, 8 insertions, 3 deletions
diff --git a/ansible/all.yml b/ansible/all.yml index 4acd889..a28142a 100644 --- a/ansible/all.yml +++ b/ansible/all.yml @@ -3,7 +3,9 @@ roles: - lusers - superusers - - packages + - role: packages + tags: packages + become: yes - trygvis-base # - ufw diff --git a/ansible/group_vars/all/packages.yml b/ansible/group_vars/all/packages.yml index be0386f..27e6c66 100644 --- a/ansible/group_vars/all/packages.yml +++ b/ansible/group_vars/all/packages.yml @@ -1,4 +1,4 @@ -packages_packages: "{{ packages__unix }} + {{ packages__misc }}" +packages_packages: "{{ packages__unix }} + {{ packages__misc }} + {{ packages__dev }} + []" packages__unix: - pwgen @@ -10,5 +10,9 @@ packages__unix: - less - ack +packages__dev: + - pkg-config + - libtool + packages__misc: - zip diff --git a/ansible/roles/packages/tasks/main.yml b/ansible/roles/packages/tasks/main.yml index 711aa9a..e23bcc7 100644 --- a/ansible/roles/packages/tasks/main.yml +++ b/ansible/roles/packages/tasks/main.yml @@ -1,6 +1,5 @@ --- - name: configure debian repositories - tags: packages notify: update apt cache copy: dest: /etc/apt/sources.list |