Add playbook and Netbox tag to run the ansible role on a host

This commit is contained in:
Salt 2021-09-24 13:03:21 -05:00
parent 41d9157971
commit fb006b0cd3
2 changed files with 8 additions and 0 deletions

7
playbooks/tags_ansible.yml Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
---
- hosts: tags_ansible
roles:
- role: ansible
tags: [ ansible ]

View File

@ -20,6 +20,7 @@
- import_playbook: playbooks/prod_web.yml
- import_playbook: playbooks/prod_game.yml
# Supplementary tags
- import_playbook: playbooks/tags_ansible.yml
- import_playbook: playbooks/tags_ansible-pull.yml
# Housekeeping tags for one-off tasks
- import_playbook: playbooks/tags_docker-prune.yml