mirror of
https://github.com/rocky-linux/infrastructure
synced 2024-12-22 10:58:29 +00:00
CNAME host
This commit is contained in:
parent
0a9ea2778c
commit
8d999fbf5d
@ -42,3 +42,16 @@
|
||||
state: "{{ ipa_presence }}"
|
||||
tags:
|
||||
- dns
|
||||
|
||||
# We try to do this just in case because if a certificate is being issued
|
||||
# that wants a CNAME, the host has to "manage" said host. However, if the
|
||||
# host doesn't exist, we'll ignore it.
|
||||
- name: "Creating host object for CNAME"
|
||||
freeipa.ansible_freeipa.ipahost:
|
||||
ipaadmin_principal: "{{ ipa_admin|default('admin') }}"
|
||||
ipaadmin_password: "{{ ipaadmin_password }}"
|
||||
name: "{{ ipa_name }}.{{ ipa_zone }}"
|
||||
force: true
|
||||
managedby:
|
||||
- "{{ ipa_name_value[:-1] }}"
|
||||
ignore_errors: true
|
||||
|
Loading…
Reference in New Issue
Block a user