summaryrefslogtreecommitdiff
path: root/roles/server
diff options
context:
space:
mode:
authorNick White <git@njw.name>2019-01-05 01:57:42 +0000
committerNick White <git@njw.name>2019-01-05 01:57:42 +0000
commit6e4d1eb45e7ef933b804d8ab76ac1e37ba4fb076 (patch)
treee0cede0500a23a38c13d7b301ac2596bc4413b2d /roles/server
parentef33895fef7ef1962973f3742c19b57ca6d21140 (diff)
Separate out roles and groups better
Diffstat (limited to 'roles/server')
-rw-r--r--roles/server/tasks/main.yml2
-rw-r--r--roles/server/tasks/update.yml5
2 files changed, 7 insertions, 0 deletions
diff --git a/roles/server/tasks/main.yml b/roles/server/tasks/main.yml
new file mode 100644
index 0000000..41d30cb
--- /dev/null
+++ b/roles/server/tasks/main.yml
@@ -0,0 +1,2 @@
+---
+- include: update.yml
diff --git a/roles/server/tasks/update.yml b/roles/server/tasks/update.yml
new file mode 100644
index 0000000..99e0dcd
--- /dev/null
+++ b/roles/server/tasks/update.yml
@@ -0,0 +1,5 @@
+---
+# Updates the image
+
+- name: Update all packages
+ package: name=* state=latest