lae / ansible-role-travis-lxc

Ansible role that prepares a Travis CI environment and creates LXC containers for testing roles.
MIT License
4 stars 2 forks source link

ansible devel broken on lxc container creation #18

Closed lae closed 6 years ago

lae commented 6 years ago

Tested a couple of commits to figure out which change caused builds to fail and it seems to be this PR https://github.com/ansible/ansible/pull/33595

https://travis-ci.org/lae/ansible-role-travis-lxc/jobs/342030143

lae commented 6 years ago

The become: True here is no longer is inherited by the include that runs lxc-create

lae commented 6 years ago

Seems there are a few issues about this already?

https://github.com/ansible/ansible/issues/35065 https://github.com/ansible/ansible/issues/36194 https://github.com/ansible/ansible/issues/35183

For 2.5 it's looking like every LXC template's task files will need to have an extra become.

lae commented 6 years ago

This is honestly really silly.