I think I found the bug
I said in my first post that my command line to start is :
> ansible-playbook ./srweb.yml -K -i ./clients/Myclient -e "client=Myclient"
>
I try to set myself this var in my playbook :
---
> - hosts: "{{client}}-srweb" <---- not here
> sudo: yes
> vars:
> unix_group: users
> vars_files:
> - "clients/Myclient.{{ ansible_hostname }}.users" <----- here
> roles:
> - srweb
And it works !
So, there is bug in the "vars_files" option (the first line host:
"{{client}}-srweb" is working)
What do you think ?
--
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].
For more options, visit https://groups.google.com/groups/opt_out.