This has been reported at https://github.com/ansible/ansible/issues/22572
On Mon, Apr 17, 2017 at 3:48 PM, Don Jackson <[email protected]> wrote: > > 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 > <https://groups.google.com/d/msgid/ansible-project/b00b0bba-63d3-49ee-b482-03e8b89173b0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Matt Martz @sivel sivel.net -- 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/CAD8N0v9ch-4Wf7h_SEfwOBpNUdgB9CRASCvkvCiH4rgn%2BoPsfw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
