mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-26 11:36:10 +08:00
Actually those tasks must be run on the IPA server
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
@@ -124,6 +124,26 @@
|
||||
- include_role:
|
||||
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
|
||||
shell: echo "{{ipa_admin_password}}" | kinit admin
|
||||
check_mode: no
|
||||
@@ -145,22 +165,6 @@
|
||||
tags:
|
||||
- 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
|
||||
command: kdestroy -A
|
||||
tags:
|
||||
|
||||
Reference in New Issue
Block a user