Parameterize ceph-ansible environment variables
Add CephAnsibleEnvironmentVariables which allows a user to override any Ansible environment variable. Depends-On: I5d69af146ca6ca8b3d5f78445cd1b47828daa955 Change-Id: Ic731c8f0c988c485c5b3448182a568b8514cab0a Closes-Bug: 1738276
This commit is contained in:
parent
3848aea06e
commit
ba2169d0a3
|
@ -127,6 +127,10 @@ parameter_defaults:
|
||||||
CephMonKey: 'AQC+Ox1VmEr3BxAALZejqeHj50Nj6wJDvs96OQ=='
|
CephMonKey: 'AQC+Ox1VmEr3BxAALZejqeHj50Nj6wJDvs96OQ=='
|
||||||
CephAdminKey: 'AQDLOh1VgEp6FRAAFzT7Zw+Y9V6JJExQAsRnRQ=='
|
CephAdminKey: 'AQDLOh1VgEp6FRAAFzT7Zw+Y9V6JJExQAsRnRQ=='
|
||||||
CephClientKey: 'AQC+vYNXgDAgAhAAc8UoYt+OTz5uhV7ItLdwUw=='
|
CephClientKey: 'AQC+vYNXgDAgAhAAc8UoYt+OTz5uhV7ItLdwUw=='
|
||||||
|
CephAnsiblePlaybookVerbosity: 1
|
||||||
|
CephAnsibleEnvironmentVariables:
|
||||||
|
ANSIBLE_SSH_RETRIES: '4'
|
||||||
|
DEFAULT_FORKS: '3'
|
||||||
NovaEnableRbdBackend: true
|
NovaEnableRbdBackend: true
|
||||||
CinderEnableRbdBackend: true
|
CinderEnableRbdBackend: true
|
||||||
CinderRbdExtraPools: altrbd
|
CinderRbdExtraPools: altrbd
|
||||||
|
|
|
@ -144,6 +144,10 @@ parameters:
|
||||||
default: 0
|
default: 0
|
||||||
description: number of '-v', '-vv', etc. passed to ansible-playbook command (max 5)
|
description: number of '-v', '-vv', etc. passed to ansible-playbook command (max 5)
|
||||||
type: number
|
type: number
|
||||||
|
CephAnsibleEnvironmentVariables:
|
||||||
|
default: {}
|
||||||
|
description: Mapping of Ansible environment variables to override defaults.
|
||||||
|
type: json
|
||||||
|
|
||||||
conditions:
|
conditions:
|
||||||
custom_registry_host:
|
custom_registry_host:
|
||||||
|
@ -205,6 +209,7 @@ outputs:
|
||||||
- {get_param: CephAnsiblePlaybook}
|
- {get_param: CephAnsiblePlaybook}
|
||||||
ansible_playbook_verbosity: {get_param: CephAnsiblePlaybookVerbosity}
|
ansible_playbook_verbosity: {get_param: CephAnsiblePlaybookVerbosity}
|
||||||
node_data_lookup: {get_param: NodeDataLookup}
|
node_data_lookup: {get_param: NodeDataLookup}
|
||||||
|
ansible_env_variables: {get_param: CephAnsibleEnvironmentVariables}
|
||||||
config_settings:
|
config_settings:
|
||||||
ceph_common_ansible_vars:
|
ceph_common_ansible_vars:
|
||||||
ireallymeanit: 'yes'
|
ireallymeanit: 'yes'
|
||||||
|
|
Loading…
Reference in New Issue