GSA / jenkins-deploy

deploy Jenkins to AWS with Terraform and Ansible
Other
20 stars 14 forks source link

dramatically simplify CI setup #46

Closed afeld closed 6 years ago

afeld commented 6 years ago

Approach copied from https://github.com/GSA/ansible-https-proxy/commit/4a6d7c480a99280b600a2085ba9d8d836bd22f1d.

Execute Ansible using the Docker remote connection, rather than executing Ansible from within the container. This means we can use a target container without Ansible installed, more closely mirroring what a bare CentOS target machine would look like when using the role for real.

Took me waaaay too long to arrive at this approach - thinking I'll make a standalone repository with instructions to demonstrate it, to save others the time.

/cc https://github.com/GSA/ansible-https-proxy/pull/17