Created
December 2, 2019 16:22
-
-
Save quadriq/2f23b45008b879b1a4a52cfb20ed3744 to your computer and use it in GitHub Desktop.
ansible example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
**** hosts file: | |
[wd_main] | |
localhost ansible_connection=local | |
[wd_ftu] | |
localhost ansible_connection=local | |
[wd:children] | |
wd_main | |
wd_ftu | |
***** two files in group_vars (diffrent vars inside) | |
group_vars | |
wd_ftu.yaml | |
wd_main.yaml | |
***** playbook | |
- hosts: wd | |
roles: | |
- name: webdisp | |
... | |
how can I run a playbook to limit it to e.g "wd_ftu" only? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment