From fe67b23917a17ec111788db6520ea3b6ca7a5422 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Thu, 9 Aug 2018 08:28:13 +0200 Subject: o Creating lxc-machine, adding systemd-timerd. --- ansible/roles/lxc-machine/tasks/main.yml | 14 ++++++++++++++ ansible/roles/mw-backend/tasks/main.yml | 9 +++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 ansible/roles/lxc-machine/tasks/main.yml (limited to 'ansible/roles') 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 -- cgit v1.2.3