projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ansible: Remove lttng-scope role
[lttng-ci.git]
/
automation
/
ansible
/
playbooks
/
dist-upgrade.yml
diff --git
a/automation/ansible/playbooks/dist-upgrade.yml
b/automation/ansible/playbooks/dist-upgrade.yml
index db9038069480e3f694cac1159aa7b09da9ac5491..57d011da6942571aeaddf00591096829b3fa341e 100644
(file)
--- a/
automation/ansible/playbooks/dist-upgrade.yml
+++ b/
automation/ansible/playbooks/dist-upgrade.yml
@@
-1,5
+1,5
@@
---
---
-- name: Dist upgrade and option
n
al reboot
+- name: Dist upgrade and optional reboot
hosts: all
vars:
restart: 'no'
hosts: all
vars:
restart: 'no'
@@
-19,7
+19,9
@@
apt: upgrade=dist
- name: apt-get autoremove
apt: upgrade=dist
- name: apt-get autoremove
- command: apt-get -y --purge autoremove
+ command:
+ cmd: apt-get -y --purge autoremove
+ warn: false
register: autoremove_output
changed_when: "'The following packages will be REMOVED' in autoremove_output.stdout"
register: autoremove_output
changed_when: "'The following packages will be REMOVED' in autoremove_output.stdout"
This page took
0.0234 seconds
and
4
git commands to generate.