Code Review
/
genesis.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
9b3a4d4bbc67e9105651a97c5a379561b731597c
[genesis.git]
/
foreman
/
ci
/
reload_playbook.yml
1
---
2
- hosts: all
3
tasks:
4
- name: restart machine
5
shell: sleep 2 && shutdown -r now "Ansible updates triggered"
6
async: 1
7
poll: 0
8
ignore_errors: true
9
10
- name: waiting for server to come back
11
local_action: wait_for host="{{ ansible_ssh_host }}"
12
port="{{ ansible_ssh_port }}"
13
state=started
14
delay=60
15
timeout=180
16
sudo: false
17
- pause: minutes=1