I don't understand I have 2 roles, this 2 roles are tagged, one work, this
one :
- hosts: webservers
> sudo: yes
> roles:
> - { role: webserver, tags: ['webserver']}
>
And the other one not :
- hosts: dbservers
> sudo: yes
> roles:
> - { role: dbserver, tags: ['dbserver']}
>
When I ran this :
> ansible-playbook playbook.yml -i hosts -t dbserver
>
(I also try the other syntax --tags)
I've gto the following error :
> ERROR: tag(s) not found in playbook: dbserver. possible values:
> adminer,common,databases,mysql,user,vhosts,webserver
>
As you can see the webserver tag is found, also the mysql/databases one
which are in dbserver role so why my dbserver tag is not ?
Except this problem the role works fine
Thanks for your suggestions
--
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].
For more options, visit https://groups.google.com/groups/opt_out.