htz-cloud.jugendhackt: add new node
This commit is contained in:
parent
95bb7c52fe
commit
dc0d745842
3 changed files with 83 additions and 1 deletions
|
@ -16,6 +16,7 @@ actions['jugendhackt_tools_create_virtualenv'] = {
|
|||
'needs': {
|
||||
# actually /opt/jugendhackt_tools, but we don't create that
|
||||
'directory:/opt/jugendhackt_tools/src',
|
||||
'pkg_apt:python3-virtualenv',
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -27,6 +28,7 @@ actions['jugendhackt_tools_install'] = {
|
|||
]),
|
||||
'needs': {
|
||||
'action:jugendhackt_tools_create_virtualenv',
|
||||
'pkg_apt:python3-pip',
|
||||
},
|
||||
'triggered': True,
|
||||
}
|
||||
|
|
|
@ -11,8 +11,9 @@ fi
|
|||
if systemctl is-active wide-dhcpv6-client;
|
||||
then
|
||||
systemctl stop wide-dhcpv6-client
|
||||
sleep 1
|
||||
sleep 60
|
||||
systemctl start wide-dhcpv6-client
|
||||
else
|
||||
sleep 60
|
||||
systemctl start wide-dhcpv6-client
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue