Actually those tasks must be run on the IPA server
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
2cc20bb1af
commit
35f2aeb15d
1 changed files with 20 additions and 16 deletions
|
@ -124,6 +124,26 @@
|
||||||
- include_role:
|
- include_role:
|
||||||
name: ipa/client
|
name: ipa/client
|
||||||
|
|
||||||
|
- name: Add the ipsilon HBAC service in IPA
|
||||||
|
ipahbacsvc:
|
||||||
|
name: ipsilon
|
||||||
|
description: Ipsilon authentication service
|
||||||
|
ipaadmin_password: "{{ ipa_admin_password }}"
|
||||||
|
delegate_to: "{{ ipa_server }}"
|
||||||
|
tags:
|
||||||
|
- ipsilon
|
||||||
|
|
||||||
|
- name: Allow login through ipsilon
|
||||||
|
ipahbacrule:
|
||||||
|
name: ipsilon_login
|
||||||
|
description: Login through ipsilon
|
||||||
|
hbacsvc:
|
||||||
|
- ipsilon
|
||||||
|
ipaadmin_password: "{{ ipa_admin_password }}"
|
||||||
|
delegate_to: "{{ ipa_server }}"
|
||||||
|
tags:
|
||||||
|
- ipsilon
|
||||||
|
|
||||||
- name: Get admin ticket
|
- name: Get admin ticket
|
||||||
shell: echo "{{ipa_admin_password}}" | kinit admin
|
shell: echo "{{ipa_admin_password}}" | kinit admin
|
||||||
check_mode: no
|
check_mode: no
|
||||||
|
@ -145,22 +165,6 @@
|
||||||
tags:
|
tags:
|
||||||
- ipsilon
|
- ipsilon
|
||||||
|
|
||||||
- name: Add the ipsilon HBAC service in IPA
|
|
||||||
ipahbacsvc:
|
|
||||||
name: ipsilon
|
|
||||||
description: Ipsilon authentication service
|
|
||||||
tags:
|
|
||||||
- ipsilon
|
|
||||||
|
|
||||||
- name: Allow login through ipsilon
|
|
||||||
ipahbacrule:
|
|
||||||
name: ipsilon_login
|
|
||||||
description: Login through ipsilon
|
|
||||||
hbacsvc:
|
|
||||||
- ipsilon
|
|
||||||
tags:
|
|
||||||
- ipsilon
|
|
||||||
|
|
||||||
- name: Destroy admin ticket
|
- name: Destroy admin ticket
|
||||||
command: kdestroy -A
|
command: kdestroy -A
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue