[ipa/server] Fix the parameters for topologysegment-add
I forgot to use the '--' for the flags and used `hostvars[item]['ansible_hostname']` instead of just item. Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
parent
315ff4be8a
commit
f4ebb6d0d7
1 changed files with 6 additions and 6 deletions
|
@ -615,10 +615,10 @@
|
|||
argv:
|
||||
- ipa
|
||||
- topologysegment-add
|
||||
- leftnode="{{ inventory_hostname }}"
|
||||
- rightnode="{{ hostvars[item]['ansible_hostname'] }}"
|
||||
- "--leftnode={{ inventory_hostname }}"
|
||||
- "--rightnode={{ item }}"
|
||||
- "ca"
|
||||
- "{{ inventory_hostname + '-' + hostvars[item]['ansible_hostname'] }}"
|
||||
- "{{ inventory_hostname + '-' + item }}"
|
||||
with_items: "{{ (env == 'production')|ternary(groups['ipa'], groups['ipa_stg']) }}"
|
||||
ignore_errors: true
|
||||
tags:
|
||||
|
@ -632,10 +632,10 @@
|
|||
argv:
|
||||
- ipa
|
||||
- topologysegment-add
|
||||
- leftnode="{{ inventory_hostname }}"
|
||||
- rightnode="{{ hostvars[item]['ansible_hostname'] }}"
|
||||
- "--leftnode={{ inventory_hostname }}"
|
||||
- "--rightnode={{ item }}"
|
||||
- "domain"
|
||||
- "{{ inventory_hostname + '-' + hostvars[item]['ansible_hostname'] }}"
|
||||
- "{{ inventory_hostname + '-' + item }}"
|
||||
with_items: "{{ (env == 'production')|ternary(groups['ipa'], groups['ipa_stg']) }}"
|
||||
ignore_errors: true
|
||||
tags:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue