added noted, restart, ping and modified cfg to grab a non-tracked password file
This commit is contained in:
19
restart.yml
Normal file
19
restart.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
|
||||
- hosts: localhost
|
||||
connection: local
|
||||
gather_facts: false
|
||||
|
||||
tasks:
|
||||
- name: create temp group
|
||||
add_host:
|
||||
name: '192.168.86.10'
|
||||
groups: restart
|
||||
|
||||
- hosts: restart
|
||||
tasks:
|
||||
- name: restart
|
||||
become: true
|
||||
reboot:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user