Skip to content

Commit 0fd0bf7

Browse files
committed
Add reboot ansible ad-hoc command in README
1 parent 524fa19 commit 0fd0bf7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,10 @@ docker exec -t greenlight_db_1 \
206206
pg_dumpall -c -U postgres > /root/greenlight_`date +%d-%m-%Y"_"%H_%M_%S`.sql
207207
```
208208

209+
### Reboot all servers
210+
211+
`ansible all -m reboot -i inventory/production --become`
212+
209213
### Docs
210214

211215
- [Ansible Documentation: Playbook Filters](https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html)

0 commit comments

Comments
 (0)