Problems with 'ansible-galaxy install' with Ansible 2.3.0.0 and Ubuntu 16.04

81 views
Skip to first unread message

Don Jackson

unread,
Apr 17, 2017, 4:48:24 PM4/17/17
to Ansible Project

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....


Matt Martz

unread,
Apr 17, 2017, 4:53:44 PM4/17/17
to ansible...@googlegroups.com

--
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 ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
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.



--
Matt Martz
@sivel
sivel.net
Reply all
Reply to author
Forward
0 new messages