Compare commits
No commits in common. "dcd2ebc49c39969df0a6568cb5c57a8c5f7cdbf3" and "e117acac04da6cf6765885025c3a930ede4245e3" have entirely different histories.
dcd2ebc49c
...
e117acac04
2 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ for node in nodes:
|
|||
print(node.run('DEBIAN_FRONTEND=noninteractive apt update').stdout.decode())
|
||||
print(node.run('DEBIAN_FRONTEND=noninteractive apt list --upgradable').stdout.decode())
|
||||
if int(node.run('DEBIAN_FRONTEND=noninteractive apt list --upgradable 2> /dev/null | grep upgradable | wc -l').stdout.decode()):
|
||||
print(node.run('DEBIAN_FRONTEND=noninteractive apt -qy full-upgrade').stdout.decode())
|
||||
print(node.run('DEBIAN_FRONTEND=noninteractive apt -y dist-upgrade').stdout.decode())
|
||||
|
||||
# REBOOT IN ORDER
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
'hostname': '192.168.179.20',
|
||||
'groups': [
|
||||
'debian-12',
|
||||
'debian-11',
|
||||
'monitored',
|
||||
'raspberry-pi',
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue