Introduce tripleo-bootstrap Ansible role

This role will be used to prepare an environment that will deploy
TripleO.
For now, it'll just deploy 2 packages by default.

Change-Id: I560273be2ebe3a49ff37e3682222706939e5d879
This commit is contained in:
Emilien Macchi
2017-12-04 11:27:10 -08:00
parent 1dcdf6cec9
commit e7bc6b185d
7 changed files with 62 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
features:
- |
Introduce a new Ansible role, called tripleo-bootstrap which will take
care of prepare an environment so we can deploy TripleO.

View File

@@ -0,0 +1,39 @@
tripleo-bootstrap
=================
An Ansible role to bootstrap a TripleO deployment.
Requirements
------------
This section needs to be documented.
Role variables
--------------
- packages_bootstrap: -- list of required packages to bootstrap TripleO.
Dependencies
------------
This role needs repositories to be deployed as it works now.
Example Playbook
----------------
Sample playbook to call the role:
- name: Bootstrap TripleO
hosts: all
roles:
- tripleo-bootstrap
License
-------
Free software: Apache License (2.0)
Author Information
------------------
OpenStack TripleO team

View File

@@ -0,0 +1,9 @@
---
# List of packages that are requred to bootstrap TripleO.
# The list is used by `yum` Ansible module, so it takes
# a comma separated list of packages or (as of 2.0) a list
# of packages.
packages_bootstrap:
- openstack-heat-agents
- jq

View File

@@ -0,0 +1 @@
---

View File

@@ -0,0 +1 @@
---

View File

@@ -0,0 +1,6 @@
---
- name: Deploy required packages to bootstrap TripleO
yum:
name: "{{ packages_bootstrap }}"
become: true

View File

@@ -42,6 +42,7 @@ data_files =
share/tripleo-common/image-yaml = image-yaml/*
share/tripleo-common/workbooks = workbooks/*
share/tripleo-common/healthcheck = healthcheck/*
/usr/share/ansible/roles/ = roles/*
[build_sphinx]
source-dir = doc/source