Commit Graph

2 Commits

Author SHA1 Message Date
Jean-Philippe Evrard e7b9f319d7 Use sudo for role testing
There are 2 ways to realize the privilege escalation needed
for the gate jobs.

1) Editing the playbooks (and hope to not forget to write the
sudo/become lines for every role)
2) Editing the inventory and set the variable there.

I'm taking the second approach with the minimum
set of variables (become_method is sudo by default
and become_user is root by default).

Change-Id: I4f7d423ad2d21611c466ec6bb58d45c5a2fd00b9
2015-11-25 13:35:50 +01:00
Kevin Carter a45aa3b2c1
IRR for apt_package_pinning
The change moves the role out from the main repo openstack-ansible
repository and into its own standalone repository.

Items within this change:
  * The role has been updated to ensure it runs standalone.
  * Tests added to the role within tox.
  * Functional tests added to the role that can either be run
    via the run_tests.sh script or using tox.
  * dev requirements have been updated for testing usecases.
  * Docs added to both the README.rst file as well as the docs
    folder.

Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2015-11-02 21:34:23 -06:00