ansible-training-test/playbooks/poweroff.yml
2018-07-27 10:01:50 +02:00

7 lines
137 B
YAML
Executable file

- hosts: alpine
gather_facts: false
tasks:
- name: poweroff
command: poweroff
become: true
ignore_errors: true