I am using ansible 2.0. I have different roles which run on local or remote
hosts. My site.yml is following:
- name: Droplets* hosts: localhost
connection: local*
roles:
- create_cluster
tags:
- create
- name: Hadoop
* hosts:
- master
- slaves*
become: true
roles:
- install_hadoop
tags:
- hadoop
- name: Destroy
* hosts: localhost
connection: local*
roles:
- destroy
tags:
- destroy
When I run,* ansible-playbook --tags destroy,* I only see the role name as
starting output but no setup, no task executed. It just skipped.
What could be the problem?
--
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/65d9c7a9-c4f1-4aa9-a6d4-cd1910d1a89a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.