Initial baseline image (Ansible) 86/8186/15
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 29 Dec 2017 19:45:24 +0000 (14:45 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 4 Jan 2018 15:50:46 +0000 (10:50 -0500)
commitda80ae50f1f5ad170b9b38ed4918e1fbc87d65cb
tree0d6afdfe1d82dc2e5a31bce942fa8c705da14b3c
parentae7a329338dcb8cdcd01301c9ebf742e4b14bf0d
Initial baseline image (Ansible)

Create a baseline image using Ansible Playbooks. Considering using
Ansible for our Job builds so why not also use it here for packer
builds.

Ansible seems to have support for the things our helper scripts do
which allows us to get rid of them if we use Ansible. Each Ansible
task also validates itself to make sure the commands run through,
something we don't currently do and can better let us know when
something goes wrong.

Issue: RELENG-288
Depends-On: Ibf4e1ff13d93ad59eaea4a0582a4b77446870dc0
Change-Id: I96d1ec83cec82130d30a245c39b6ac8018f92428
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
12 files changed:
.gitignore
provision/baseline.yaml [new file with mode: 0644]
provision/install-base-pkgs-RedHat.yaml [new file with mode: 0644]
provision/install-base-pkgs-Ubuntu.yaml [new file with mode: 0644]
provision/install-python.sh [new file with mode: 0644]
provision/rh-user_data.sh [new file with mode: 0644]
provision/system-reseal.yaml [new file with mode: 0644]
provision/ubuntu-user_data.sh [new file with mode: 0644]
templates/.gitignore [new file with mode: 0644]
templates/builder.json.example [new file with mode: 0644]
vars/centos-7.json [new file with mode: 0644]
vars/ubuntu-16.04.json [new file with mode: 0644]