solar/resources/hosts_file/actions/remove.yaml
Dmitry Shulyak 055f89b7f6 Fix several inconsistencies with data and receiver input in case of hash
Add example of usage to hosts_file/README.md
2015-09-25 17:53:57 +03:00

6 lines
125 B
YAML

- hosts: [{{host}}]
sudo: yes
tasks:
- name: Remove hosts file
shell: echo '# flushed by ansible' > /etc/hosts