RETIRED, TripleO Ansible project repository. Contains playbooks for use with TripleO OpenStack deployments.
![]() Currently there isn't a good way to pass dynamic information from ansible to puppet to end up in the configuration. This change adds an ansible_managed hierafile that can be updated via ansible to pass dynamic variables into a future puppet execution. An example playbook would be: - name: Set my data set_fact: my_data: foo - name: Add my_data to hieradata include_role: name: tripleo_hieradata tasks_from: ansible_hierdata.yml vars: hieradata_ansible_data: my_magical_var: "{{ my_data }}" The puppet code that would be executed later would just be: class myclass( $my_data = lookup('my_magical_var', 'bar') ) { file { '/var/tmp/data': ensure = present, content = $my_data } } Change-Id: I52ba520dbdd97b25cb093f7e09609e6e1797e3a1 |
||
---|---|---|
.ansible-lint_rules | ||
_skeleton_role_ | ||
doc | ||
releasenotes | ||
scripts | ||
tests | ||
tools | ||
tripleo_ansible | ||
zuul.d | ||
.ansible-lint | ||
.gitignore | ||
.gitreview | ||
.pre-commit-config.yaml | ||
.stestr.conf | ||
.yamllint | ||
LICENSE | ||
README.rst | ||
ansible-requirements.txt | ||
ansible-test-env.rc | ||
bindep.txt | ||
constraints.txt | ||
molecule-requirements.txt | ||
requirements.txt | ||
role-addition.yml | ||
roles | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
TripleO Ansible
TripleO Ansible project repository. Contains Ansible playbooks, roles, and plugins for use with TripleO.
Documentation for the project can be found at: https://docs.openstack.org/tripleo-ansible/latest/
Release notes for the project can be found at: https://docs.openstack.org/releasenotes/tripleo-ansible/
The project source code repository is located at: https://opendev.org/openstack/tripleo-ansible/
The project home is at: https://launchpad.net/tripleo
The project bug tracker is located at: https://bugs.launchpad.net/tripleo