summaryrefslogtreecommitdiff
path: root/ansible-practice/04-playbook-create-file.yml
diff options
context:
space:
mode:
authorboom2 <blizzack@blizzack.com>2023-12-14 17:24:25 -0500
committerboom2 <blizzack@blizzack.com>2023-12-14 17:24:25 -0500
commitf30709d7dbe88d82c4df66c476db36cb5c0ce903 (patch)
treeca861d7aa3e30c73a4fefeb9186f221cf15a8ff5 /ansible-practice/04-playbook-create-file.yml
parentd8a7729358a2fd3b911022e45d0197fda3e5da94 (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.yml3
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: