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 /home/.ansible/roles/new_host/tasks/main.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 'home/.ansible/roles/new_host/tasks/main.yml')
| -rw-r--r-- | home/.ansible/roles/new_host/tasks/main.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/home/.ansible/roles/new_host/tasks/main.yml b/home/.ansible/roles/new_host/tasks/main.yml new file mode 100644 index 0000000..fdbb644 --- /dev/null +++ b/home/.ansible/roles/new_host/tasks/main.yml @@ -0,0 +1,8 @@ +# https://docs.ansible.com/ansible/2.9/user_guide/playbooks_reuse_includes.html#including-and-importing-task-files +# https://docs.ansible.com/ansible/latest/collections/ansible/builtin/import_playbook_module.html +--- +- name: backup system files + ansible.builtin.import_tasks: backup_system_files.yml + +- name: update system files + ansible.builtin.import_tasks: update_system_files.yml |
