Commit graph

5 commits

Author SHA1 Message Date
Anders Ingemann
99bc43bbe9
ansible: Add task that removes the $HOME/.ansible directory on guest
If ansible_ssh_user is set through extra_vars, ansible will
create a .ansible directory in the home dir of that user.
However, it will be owned by root, which is not what ansible
will be expecting when it is provision through SSH at a later date.
2018-07-19 16:52:32 +02:00
Carlos Meza
6e183914ac fix pylint W0403(relative-import) 2018-02-25 04:12:24 +00:00
Anders Ingemann
ff48243c6e
ansible: Check for ansible availability before running 2017-07-14 18:26:52 +02:00
Nicolas Braud-Santoni
90da634226
Systematically use rel_path for relative paths 2016-09-12 19:11:20 +02:00
Rory Finnegan
c372757104 Added an Ansible plugin, which runs a playbook on the chroot before before build completion.
NOTE: I'm not doing any validation on the opt_flags param and I don't recommend using for more then adding a -vvvv.
Also, I'm purposely excluding the vault flags (which also pretty commonly used) because you shouldn't be baking
private keys and certs into your images. Instead, just avoid running the vault specific code or use the
opt_flags if absolutely necessary.
2015-02-11 21:20:59 +00:00