Add playbook and Netbox tag to run the ansible role on a host
This commit is contained in:
parent
41d9157971
commit
fb006b0cd3
7
playbooks/tags_ansible.yml
Executable file
7
playbooks/tags_ansible.yml
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env ansible-playbook
|
||||
# vim:ft=ansible:
|
||||
---
|
||||
- hosts: tags_ansible
|
||||
roles:
|
||||
- role: ansible
|
||||
tags: [ ansible ]
|
1
site.yml
1
site.yml
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user