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:
@@ -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.
|
39
roles/tripleo-bootstrap/README.md
Normal file
39
roles/tripleo-bootstrap/README.md
Normal 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
|
9
roles/tripleo-bootstrap/defaults/main.yml
Normal file
9
roles/tripleo-bootstrap/defaults/main.yml
Normal 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
|
1
roles/tripleo-bootstrap/handlers/main.yml
Normal file
1
roles/tripleo-bootstrap/handlers/main.yml
Normal file
@@ -0,0 +1 @@
|
||||
---
|
1
roles/tripleo-bootstrap/meta/main.yml
Normal file
1
roles/tripleo-bootstrap/meta/main.yml
Normal file
@@ -0,0 +1 @@
|
||||
---
|
6
roles/tripleo-bootstrap/tasks/main.yml
Normal file
6
roles/tripleo-bootstrap/tasks/main.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
|
||||
- name: Deploy required packages to bootstrap TripleO
|
||||
yum:
|
||||
name: "{{ packages_bootstrap }}"
|
||||
become: true
|
Reference in New Issue
Block a user