Merge "WIP: Namespace host_otp variable"
This commit is contained in:
commit
3ff39d004b
@ -21,6 +21,10 @@ ok: [localhost] => {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If you're including this playbook via another ansible execution, you can fetch
|
||||||
|
the one-time password via the ``tripleo_ipa_host_otp`` variable.
|
||||||
|
|
||||||
> This playbook does not require an active Kerberos token.
|
> This playbook does not require an active Kerberos token.
|
||||||
|
|
||||||
> This playbook needs to be run once per openstack deployment.
|
> This playbook needs to be run once per openstack deployment.
|
||||||
|
@ -57,11 +57,11 @@
|
|||||||
fqdn: "{{ undercloud_fqdn }}"
|
fqdn: "{{ undercloud_fqdn }}"
|
||||||
random_password: true
|
random_password: true
|
||||||
force: true
|
force: true
|
||||||
register: host_otp
|
register: tripleo_ipa_host_otp
|
||||||
|
|
||||||
- name: provide OTP generated by IPA server
|
- name: provide OTP generated by IPA server
|
||||||
debug:
|
debug:
|
||||||
msg:
|
msg:
|
||||||
- "The OTP provided by the IPA server is {{ host_otp.host.randompassword }}"
|
- "The OTP provided by the IPA server is {{ tripleo_ipa_host_otp.host.randompassword }}"
|
||||||
- "Please add the following to your undercloud.conf:"
|
- "Please add the following to your undercloud.conf:"
|
||||||
- "ipa_otp = {{ host_otp.host.randompassword }}"
|
- "ipa_otp = {{ tripleo_ipa_host_otp.host.randompassword }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user