Module - tripleo_generate_ansible_inventory

This module provides for the following ansible plugin:

  • tripleo_generate_ansible_inventory

Module Documentation

Generate Ansible Inventory

Options

plan

Overcloud plan name

ansible_ssh_user

Ansible ssh user

ansible_ssh_private_key_file

Private key file

ansible_python_interpreter

Python interpreter

ssh_network

SSH network

work_dir

Work dir

Authors

Rabi Mishra (@ramishra)

Example Tasks

- name: Generate ansible inventory for plan
  tripleo_generate_ansible_inventory:
    plan: overcloud
    ansible_ssh_user: tripleo-admin
    ansible_ssh_private_key_file: /home/stack/.ssh/tripleo-admin-rsa
    ansible_python_interpreter: /usr/bin/python3
    ssh_network: ctlplane
    work_dir: /home/stack/config-download/overcloud