aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/lxc-machine
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-08-09 08:28:13 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2018-08-09 08:28:13 +0200
commitfe67b23917a17ec111788db6520ea3b6ca7a5422 (patch)
treee61d9a27d8b89c008c42cf20e48b8365cff75778 /ansible/roles/lxc-machine
parentf55f5b028c7d37534db032dd81bafe9388ff9c6e (diff)
downloadinfra-fe67b23917a17ec111788db6520ea3b6ca7a5422.tar.gz
infra-fe67b23917a17ec111788db6520ea3b6ca7a5422.tar.bz2
infra-fe67b23917a17ec111788db6520ea3b6ca7a5422.tar.xz
infra-fe67b23917a17ec111788db6520ea3b6ca7a5422.zip
o Creating lxc-machine, adding systemd-timerd.
Diffstat (limited to 'ansible/roles/lxc-machine')
-rw-r--r--ansible/roles/lxc-machine/tasks/main.yml14
1 files changed, 14 insertions, 0 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