This commit is contained in:
meaz 2024-01-04 16:49:53 +01:00
parent c69615f35c
commit c26ad20cb7
Signed by: meaz
GPG Key ID: CD7A47B2F1ED43B4
3 changed files with 9 additions and 1 deletions

View File

@ -15,4 +15,8 @@ example playbook:
All configurable variables reside in `defaults/main.yml`. If you wish to modify them per host, add them to your `/etc/ansible/host_vars/yourhostname.yml` of for group of hosts in `/etc/ansible/group_vars/yourgroup/main.yml` etc.
You can deploy only host file with `--tags hosts`.
## Tags
* `apt`: to update packages
* `hosts`: to deploy only host file
* `ssh`: to deploy ssh
* `shouter`: to deploy shouter

View File

@ -7,3 +7,5 @@
owner: root
group: root
mode: 0644
tags: hosts

View File

@ -1,6 +1,7 @@
---
- include_tasks: apt.yml
tags: apt
- include_tasks: mkdir.yml
@ -20,5 +21,6 @@
- include_tasks: shouter.yml
when: base_shouter is defined
tags: shouter
- include_tasks: configs.yml