Markus Katharina Brechtel преди 8 години
ревизия
75dfb344a2
променени са 2 файла, в които са добавени 20 реда и са изтрити 0 реда
  1. +10
    -0
      tasks/main.yml
  2. +10
    -0
      tasks/main.yml~

+ 10
- 0
tasks/main.yml Целия файл

@@ -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~ Целия файл

@@ -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

Loading…
Отказ
Запис