11 Commits

Author SHA1 Message Date
Andy McCrae
35e96e7271 Remove Trusty support from os_ironic
Change-Id: I35f90d708cda58c5b09f17e5596cf226d1b16605
Implements: blueprint trusty-removal
2016-12-15 13:18:23 +00:00
Jesse Pretorius
6bd95f1b68 Use updated get_url module checksum functionality
Starting in Ansible 2.0, the get_url [1] module provides the
ability for a checksum to be provided to the get_url module
which will be verified against the local destination file
and the task skipped if it matches.

[1] http://docs.ansible.com/ansible/get_url_module.html

This patch implements the use of this functionality.

The ability to ignore a venv download failure is also removed
as this is not necessary or desirable. It is better for the
download to fail and the playbook execution to stop immediately
so that the failure point is exposed.

Change-Id: I8b7b76521d38c0dd842c32545644fe43129c0354
2016-11-07 17:43:19 +00:00
Jimmy McCrory
f736ebb79f Remove pip_lock_down dependency
The pip_install and pip_lock_down roles have been merged.

Remove pip_lock_down from the role's meta dependencies and test
requirements.

Change-Id: I62d9f8dce930f4e0dfe56c872ca46995e0e78b6d
2016-06-08 21:08:25 -05:00
Andy McCrae
1e51088398 Add 16.04 support
Implements: blueprint support-ubuntu-1604
Change-Id: Ide4d2c5e7753aa56bd82f0de913217f0df8860b9
2016-06-02 14:39:39 +00:00
Jesse Pretorius
f9727e0fd0 Update min_ansible_version to 1.9
This role makes use of the ternary filter which was only introduced in
Ansible 1.9, this patch updates the min_ansible_version to 1.9.

Change-Id: I136d8fe1a4739f4f62216b3674b6f78399a3ea35
2016-04-11 11:12:39 +00:00
Jesse Pretorius
484d7498e2 Ensure that pip lock down happens before other dependencies
The pip_install role is depended on by a lot of other roles, and
therefore sometimes gets processed prior to the pip_lock_down
role resulting in the pip, setuptools and wheels packages being
installed from a source other than the repo server once the repo
server is available. This is not the intended behaviour - the
repo server should always be a the primary source once it's
available.

This patch ensures that the pip_lock_down role is applied before
all the other dependent roles to ensure that the expected
behaviour is followed.

Change-Id: I358a08279026c5c719049280b9ec229004b1435b
2016-03-31 15:24:54 +00:00
Jesse Pretorius
b5d7b7986c Implement initial test inventory/plays
This patch implements an initial set of inventory and playbooks
which results in the successful convergence of a standalone
build of Ironic.

It also adds the rootwrap filters, implement config_template
for all the conf files appropriately and ensures that the sudoers
is implemented in the right order of execution.

All content is based from the head of stable/mitaka on
24 Mar 2016.

Change-Id: I9182951c394a8c52826480aba7bc7e4d437988c5
2016-03-24 23:58:05 +00:00
Michael Davies
f8eb0aebfe Ironic: Fix docs & linting tests
Unfortunately the first commit of os_ironic had broken tests. This patch
corrects the test configurations to ensure that the docs and lint tests
work.

As a temporary measure, functional testing is left as a place holder
to allow other patches to be worked on for this role while the functional
testing is being put together.

Change-Id: I38278155232a4e4d6ef259b79bd515fae2bc837b
Signed-off-by: Michael Davies <michael@the-davies.net>
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
2016-02-24 02:25:52 +00:00
Michael Davies
069116859a Syncing as work on osa integration continues 2016-01-19 06:59:45 +00:00
Michael Davies
b40dd35bdc General cleanup, incl. copyright headers 2015-11-27 12:59:56 +10:30
Michael Davies
c578f230a0 Initial commit 2015-11-26 22:18:44 +10:30