Commit graph

12 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
Anders Ingemann
7913246c2d
ansible: Remove erroneous whitespace 2017-07-26 14:37:24 +02:00
Anders Ingemann
ddaf40289b
ansible: Fix extra_vars so that it actually works
Also remove tmp_cmd var and fix manifest schema
2017-07-26 14:09:55 +02:00
Anders Ingemann
84db19605a
ansible hosts -> groups 2017-07-14 19:48:45 +02:00
Anders Ingemann
18fb853b48
ansible: Change tags/skip-tags to be lists and shorten task 2017-07-14 19:23:14 +02:00
Anders Ingemann
ff48243c6e
ansible: Check for ansible availability before running 2017-07-14 18:26:52 +02:00
Anders Ingemann
ad6c89cb41
ansible: Make playbook path relative to manifest 2017-07-14 18:26:25 +02:00
Nicolas Braud-Santoni
9bf2c45ee2
Moving checking tasks to the validation phase 2016-09-12 00:52:10 +02:00
Anders Ingemann
2d6a026160 Fix a slew of indentation & spacing issues 2016-06-04 11:38:16 +02:00
Anders Ingemann
2948badf47 Fix #204, user_modification phase has been introduced 2015-05-02 12:31:06 +02:00
Anders Ingemann
1f6f23e680 Fix #104: Don't verify default target when adding packages 2015-04-29 23:51:55 +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