https://github.com/redhat-openstack/ansible-role-tripleo-inventory
A role designed to add known hosts to an ansible hosts file and ssh config file
https://github.com/redhat-openstack/ansible-role-tripleo-inventory
Last synced: about 1 month ago
JSON representation
A role designed to add known hosts to an ansible hosts file and ssh config file
- Host: GitHub
- URL: https://github.com/redhat-openstack/ansible-role-tripleo-inventory
- Owner: redhat-openstack
- License: apache-2.0
- Created: 2016-04-19T18:44:22.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-09-16T21:54:23.000Z (over 7 years ago)
- Last Synced: 2026-04-20T23:37:56.168Z (about 1 month ago)
- Language: Python
- Size: 165 KB
- Stars: 3
- Watchers: 7
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ansible-role-tripleo-inventory
==============================
Creates a new inventory file for Ansible from the hosts in memory. This allows
consecutive runs of Ansible with the same set of hosts.
Requirements
------------
None.
Role Variables
--------------
* `local_working_dir` -- working directory on the slave running the playbook,
defaults to `$HOME/.quickstart`
* `working_dir` -- working directory on the virthost, default to /home/stack
* `undercloud_key` -- ssh key used to access the undercloud machine
* `inventory` -- `undercloud` if the overcloud has not been deployed yet
(default), or `full` in case we want to inventory all the hosts
Dependencies
------------
None.
Example Playbook
----------------
```yaml
- name: Inventory the overcloud
hosts: undercloud
gather_facts: yes
vars:
inventory: all
roles:
- tripleo-inventory
```
License
-------
Apache
Author Information
------------------
RDO-CI Team