diff options
Diffstat (limited to 'ansible/roles')
-rw-r--r-- | ansible/roles/lxc-machine/tasks/main.yml | 14 | ||||
-rw-r--r-- | ansible/roles/mw-backend/tasks/main.yml | 9 |
2 files changed, 21 insertions, 2 deletions
diff --git a/ansible/roles/lxc-machine/tasks/main.yml b/ansible/roles/lxc-machine/tasks/main.yml new file mode 100644 index 0000000..24d64c8 --- /dev/null +++ b/ansible/roles/lxc-machine/tasks/main.yml @@ -0,0 +1,14 @@ +--- + +- name: system setup + tags: + - packages + block: + - name: misc packages + apt: + name: "{{ item }}" + install_recommends: no + with_items: + - systemd-cron + +# TODO: unattended upgrades, postfix client diff --git a/ansible/roles/mw-backend/tasks/main.yml b/ansible/roles/mw-backend/tasks/main.yml index 69f056d..5d04793 100644 --- a/ansible/roles/mw-backend/tasks/main.yml +++ b/ansible/roles/mw-backend/tasks/main.yml @@ -1,6 +1,6 @@ --- - name: apt setup - tags: + tags: - mw-backend - packages block: @@ -32,7 +32,12 @@ - git - etckeeper - - name: packages +- name: system setup + tags: + - mw-backend + - packages + block: + - name: misc packages apt: name: "{{ item }}" install_recommends: no |