Hello 

I have a site.yml which imports several playbooks. 
- import_playbook: webservers.yml
- ....

Every playbook "calls" several roles: 
- name: apply the webserver configuration 
hosts: webservers
roles:
- javajdk
- tomcat
- apache

Now how can I run lets say only the javajdk role ?

ansible-playbook -i inventory/xx  webservers.yml      would run all 
roles...  I know that there are tags, but how do I assign them to a role in 
general?

Thanks a lot 
Michael

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c81baccf-0342-4d14-be38-f905ddfe150b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to