mirror of
https://github.com/foo-dogsquared/ansible-playbooks.git
synced 2025-01-31 10:58:15 +00:00
78568ab207
Seems like I misunderstood what tags are for. They're not individual flags for the play, they're commonly used for excluding/including tasks at runtime (e.g., `ansible-playbook $PLAYBOOK --tags $TAGS`). When running a playbook, it will execute all tasks by default. Think of them as attaching a label and letting the user choose from the playbook run. Setting multiple tags at the playbook-level seems to be the best practice as seen from jwflory's Ansible playbooks.
12 lines
266 B
YAML
12 lines
266 B
YAML
---
|
|
- name: Install fonts
|
|
dnf:
|
|
state: present
|
|
name:
|
|
- adobe-source-code-pro-fonts
|
|
- adobe-source-sans-pro-fonts
|
|
- adobe-source-serif-pro-fonts
|
|
- google-noto-emoji-fonts
|
|
- google-noto-sans-fonts
|
|
- google-noto-serif-fonts
|