write upgrade playbook and try it on some more hosts
authorRalf Jung <post@ralfj.de>
Tue, 3 Apr 2018 09:33:50 +0000 (11:33 +0200)
committerRalf Jung <post@ralfj.de>
Tue, 3 Apr 2018 09:33:50 +0000 (11:33 +0200)
.gitignore [new file with mode: 0644]
ansible.cfg
upgrade.yml [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..ab47601
--- /dev/null
@@ -0,0 +1,2 @@
+*.retry
+
index 6a35488ceef43dc804a496b73b7a365669cd2ff9..d735112b531b17db8e58a6020b592dcb46474f75 100644 (file)
@@ -2,4 +2,5 @@
 inventory = hosts
 
 [privilege_escalation]
+become = True
 become_ask_pass = True
diff --git a/upgrade.yml b/upgrade.yml
new file mode 100644 (file)
index 0000000..5da0759
--- /dev/null
@@ -0,0 +1,8 @@
+- hosts: all
+  tasks:
+  - name: system upgrade
+    apt:
+      autoremove: yes
+      autoclean: yes
+      update_cache: yes
+      upgrade: dist