Logan V 0405ec9f76 Update aio job to use become and fix environment
The in-tree job definition did not pass the legacy ZUUL environment
into sudo or dump the ZUUL_ prefixed vars into zuul.env, so the
get-ansible-role-requirements script did not detect that it should
use Zuul provided sources when available.

This fixes the job definition in several ways:
1) The job definition no longer calls gate-check-commit using the
   sudo command. Instead become/become_user are placed on the task
   so ansible will handle the sudoing and we just call
   gate-check-commit directly now.

2) The zuul legacy environment is removed from the job environment.
   Only ZUUL_PROJECT is used in the integrated repo[1], so that is
   the only var we define now, and we do not need anything special to
   pass it into gate-check-commit since it is no longer running in
   a sudo wrapper.

As a result of these changes, the zuul.env loading code is removed
from gate-check-commit.

[1] c3ce038737/tests/get-ansible-role-requirements.yml (L57)

Change-Id: Id0fb8502029e3f996d2557bc09c3314cc884bba8
2017-10-30 12:15:33 -05:00
2017-10-30 11:31:52 +00:00
2016-11-03 12:09:05 +11:00
2017-10-17 15:13:01 +00:00
2017-07-10 05:27:08 +00:00
2017-03-02 11:51:03 +00:00
2017-07-20 09:23:46 +00:00
2017-08-21 15:01:28 +01:00

Team and repository tags

image

OpenStack-Ansible

OpenStack-Ansible is an official OpenStack project which aims to deploy production environments from source in a way that makes it scalable while also being simple to operate, upgrade, and grow.

For an overview of the mission, repositories and related Wiki home page, please see the formal Home Page for the project.

For those looking to test OpenStack-Ansible using an All-In-One (AIO) build, please see the Quick Start guide.

For more detailed Installation and Operator documentation, please see the Deployment Guide.

If OpenStack-Ansible is missing something you'd like to see included, then we encourage you to see the Developer Documentation for more details on how you can get involved.

Developers wishing to work on the OpenStack-Ansible project should always base their work on the latest code, available from the master GIT repository at Source.

If you have some questions, or would like some assistance with achieving your goals, then please feel free to reach out to us on the OpenStack Mailing Lists (particularly openstack-operators or openstack-dev) or on IRC in #openstack-ansible on the freenode network.

OpenStack-Ansible Roles

OpenStack-Ansible offers separate role repositories for each individual role that OpenStack-Ansible supports. For individual role configuration options, see the Role Documentation.

An individual role's source code can be found at: https://git.openstack.org/cgit/openstack/openstack-ansible-<ROLENAME>.

Description
Ansible playbooks for deploying OpenStack.
Readme 138 MiB
Languages
Python 61.4%
Shell 26.8%
Jinja 11.7%
Smarty 0.1%