ipa/service: drop the PR I merged
The 'stat' can't work because "{{ service }}/{{ host }}" isn't a real
path name.
Revert "check if ipa service entry exists"
This reverts commit 98475f6ae4
.
This commit is contained in:
parent
98475f6ae4
commit
8d3cbc375e
1 changed files with 0 additions and 10 deletions
|
@ -9,15 +9,6 @@
|
|||
- config
|
||||
- krb5
|
||||
|
||||
- name: Check if service exists
|
||||
delegate_to: "{{ ipa_server }}"
|
||||
stat:
|
||||
path: "{{ service }}/{{ host }}"
|
||||
register: ipa_service_defined
|
||||
tags:
|
||||
- config
|
||||
- krb5
|
||||
|
||||
- name: Create service entry
|
||||
delegate_to: "{{ ipa_server }}"
|
||||
ipaservice:
|
||||
|
@ -25,7 +16,6 @@
|
|||
name: "{{ service }}/{{ host }}"
|
||||
principal: "{{ principal_alias | default(omit) }}"
|
||||
force: yes
|
||||
when: not ipa_service_defined.stat.exists
|
||||
tags:
|
||||
- config
|
||||
- krb5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue