Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Registrati
Accedi
ka
/
ansible-role-reboot
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
current
master
Markus Katharina Brechtel
8 anni fa
commit
75dfb344a2
2 ha cambiato i file
con
20 aggiunte
e
0 eliminazioni
Visualizzazione separata
Diff Options
Show Stats
Download Patch File
Download Diff File
+10
-0
tasks/main.yml
+10
-0
tasks/main.yml~
+ 10
- 0
tasks/main.yml
Vedi File
@@ -0,0 +1,10 @@
---
- name: reboot
command: shutdown -r 1
async: 0
poll: 0
ignore_errors: true
- name: wait for ssh
local_action: wait_for host={{ ansible_host | default(inventory_hostname) }} port=22 search_regex=OpenSSH delay={{ reboot_delay | default(120) }} state=started
+ 10
- 0
tasks/main.yml~
Vedi File
@@ -0,0 +1,10 @@
---
- name: reboot
command: shutdown -r 1
async: 0
poll: 0
ignore_errors: true
- name: wait for server
local_action: wait_for host={{ ansible_host | default(inventory_hostname) }} port=22 search_regex=OpenSSH delay={{ reboot_delay | default(60) }} state=started
Write
Preview
Loading…
Annulla
Salva