AFAICT, after Ansible 2.3.0.0 was released, when I run 'ansible-galaxy 
install -r roles.yaml' if any filename within the role begins with the name 
of the role, then that filename will be changed to remove the name of the 
role.

For example, in role foo, of there is a file templates/foo.conf.j2, 
ansible-galaxy install will change that filename to .conf.j2 , etc.

Needless to say, this causes alot of problems subsequently when roles are 
run and files cannot be found.

Reverting to Ansible 2.2.2.0 works around the problem for me.

To provide a bit more context, I have a "late command" shell script that is 
invoked via the Ubuntu preseed installer on a fresh install.

That shell script installs Ansible via pip, gets the roles.yml file, and 
then runs ansible-galaxy install -r roles.yml, prior to running 
ansible-playbook on a playbook that configures the freshly installed 
machine....


-- 
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/b00b0bba-63d3-49ee-b482-03e8b89173b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to