diff options
| author | boom2 <blizzack@blizzack.com> | 2023-12-14 17:24:25 -0500 |
|---|---|---|
| committer | boom2 <blizzack@blizzack.com> | 2023-12-14 17:24:25 -0500 |
| commit | f30709d7dbe88d82c4df66c476db36cb5c0ce903 (patch) | |
| tree | ca861d7aa3e30c73a4fefeb9186f221cf15a8ff5 /ansible-practice/04-playbook-create-file.yml | |
| parent | d8a7729358a2fd3b911022e45d0197fda3e5da94 (diff) | |
- add "new_host" role for system setup
- no longer use "all" to mention all hosts in playbooks
- update of hosts file to now use localhost as "test"
Diffstat (limited to 'ansible-practice/04-playbook-create-file.yml')
| -rw-r--r-- | ansible-practice/04-playbook-create-file.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ansible-practice/04-playbook-create-file.yml b/ansible-practice/04-playbook-create-file.yml index f12d33b..d9676e9 100644 --- a/ansible-practice/04-playbook-create-file.yml +++ b/ansible-practice/04-playbook-create-file.yml @@ -1,9 +1,10 @@ # creating a file # https://phoenixnap.com/kb/ansible-create-file +# https://docs.ansible.com/ansible/latest/collections/ansible/builtin/file_module.html --- - name: "04 - Playing with Ansible - creating a file" - hosts: all + hosts: dev # hosts: localhost # connection: local tasks: |
