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/system/11-playbook-herd-new-host.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/system/11-playbook-herd-new-host.yml')
| -rw-r--r-- | ansible-practice/system/11-playbook-herd-new-host.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ansible-practice/system/11-playbook-herd-new-host.yml b/ansible-practice/system/11-playbook-herd-new-host.yml new file mode 100644 index 0000000..dd6a204 --- /dev/null +++ b/ansible-practice/system/11-playbook-herd-new-host.yml @@ -0,0 +1,7 @@ +# https://docs.ansible.com/ansible/2.9/user_guide/playbooks_reuse.html + +--- +- name: "11 - custom ansible - herd new host" + hosts: dev + roles: + - new_host
\ No newline at end of file |
