[ipa/server] Explicitly mark '-' as string

Previous change split the argument to two, which caused error in number of
parameters for the command. Let's try if this will fix it.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
Michal Konecny 2023-11-29 12:48:56 +01:00
parent f7cb379e43
commit 3d200881c4

View file

@ -618,7 +618,7 @@
- leftnode="{{ inventory_hostname }}"
- rightnode="{{ hostvars[item]['ansible_hostname'] }}"
- "ca"
- "{{ inventory_hostname }}-{{ hostvars[item]['ansible_hostname']}}"
- "{{ inventory_hostname'-'hostvars[item]['ansible_hostname'] }}"
with_items: "{{ (env == 'production')|ternary(groups['ipa'], groups['ipa_stg']) }}"
ignore_errors: true
tags:
@ -635,7 +635,7 @@
- leftnode="{{ inventory_hostname }}"
- rightnode="{{ hostvars[item]['ansible_hostname'] }}"
- "domain"
- "{{ inventory_hostname }}-{{ hostvars[item]['ansible_hostname']}}"
- "{{ inventory_hostname'-'hostvars[item]['ansible_hostname'] }}"
with_items: "{{ (env == 'production')|ternary(groups['ipa'], groups['ipa_stg']) }}"
ignore_errors: true
tags: