f7a29d5aa2
with newer ansible coming, the "warn" parameter is removed and raises an error. Depends-On: https://review.opendev.org/c/openstack/tripleo-ansible/+/864392 Change-Id: I934211aa437fc268288de06fc39545c98f1746c5 |
||
---|---|---|
.. | ||
defaults | ||
meta | ||
molecule/default | ||
tasks | ||
tests | ||
README.md |
tripleo_undercloud_install
A role to run the install of a TripleO undercloud.
Requirements
None.
Role Variables
tripleo_undercloud_install_debug
: (Boolean) Flag used to enable the debug version of commands. Default: falsetripleo_undercloud_install_dry_run
: (Boolean) Flag to add --dry-run to the install. Default: falsetripleo_undercloud_install_force_stack_update
: (Boolean) Flag to add --force-stack-update to the install. Default: falsetripleo_undercloud_install_generate_scripts
: (Boolean) Write out a shell script that can be used to reproduce the command being executed. By default uses the value oftripleo_generate_scripts
or False iftripleo_generate_scripts
is not defined.tripleo_undercloud_install_generate_scripts_only
: (Boolean) Do not run the actual command - to be used in conjunction withtripleo_undercloud_install_generate_scripts
. By default uses the value oftripleo_generate_scripts_only
or False iftripleo_generate_scripts_only
is not defined.tripleo_undercloud_install_home_dir
: (String) Home directory for the undercloud user. Default: "{{ ansible_env.HOME }}"tripleo_undercloud_install_inflight_validations
: (Boolean) Flag to add --inflight-validations to the install. Default: falsetripleo_undercloud_install_log_combine
: (Boolean) Flag to combine stdout and stderr in the logfile. Default: truetripleo_undercloud_install_log_output
: (Boolean) Flag to log the output to a file rather than show it in the ansible output. Default: truetripleo_undercloud_install_no_validations
: (Boolean) Flag to add --no-validations to the install. Default: falsetripleo_undercloud_install_poll
: (Integer) Number of seconds to wait between checks to see if the install command has completed. This should be set to a value greater or equal to 1. Default: 10tripleo_undercloud_install_reproducer_command
: (Boolean) Flag to create a reproducer script including the Ansible command to re-run deployment playbooks.tripleo_undercloud_install_timeout
: (Integer) Timeout for the install command. Default: 7200tripleo_undercloud_install_yes
: (Boolean) Flag to add --yes to the install. Default: falsetripleo_undercloud_install_log
: (String) Install log file path. Default: "{{ tripleo_undercloud_install_home_dir }}/undercloud_install.log"
Output Variables
tripleo_undercloud_install_result
: Ansible shell execution results
Dependencies
None.
Example Playbook
Example install execution playbook
- hosts: undercloud
gather_facts: true
tasks:
- name: Install undercloud
import_role:
name: tripleo_undercloud_install
vars:
tripleo_undercloud_install_debug: true
License
Apache-2.0