Skip to content
Snippets Groups Projects
Commit 89449996 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

service: Add multi service examples to EXAMPLES

The EXAMPLES section only contained a very simple example for multi
service handling. The examples from the README have been added.
parent b7a04bc4
Branches
Tags
No related merge requests found
...@@ -370,6 +370,43 @@ EXAMPLES = """ ...@@ -370,6 +370,43 @@ EXAMPLES = """
host: host:
- host1.example.com - host1.example.com
- name: HTTP/www.service.com - name: HTTP/www.service.com
# Ensure multiple services are present
- ipaservice:
ipaadmin_password: SomeADMINpassword
services:
- name: HTTP/www.example.com
principal:
- host/host1.example.com
- name: mysvc/www.example.com
pac_type: NONE
ok_as_delegate: yes
ok_to_auth_as_delegate: yes
- name: HTTP/www.example.com
allow_create_keytab_user:
- user01
- user02
allow_create_keytab_group:
- group01
- group02
allow_create_keytab_host:
- host1.example.com
- host2.example.com
allow_create_keytab_hostgroup:
- hostgroup01
- hostgroup02
- name: mysvc/host2.example.com
auth_ind: otp,radius
# Ensure service host members are present
- ipaservice:
ipaadmin_password: SomeADMINpassword
services:
- name: HTTP/www1.example.com
host: host1.example.com
- name: HTTP/www2.example.com
host: host2.example.com
action: member
""" """
RETURN = """ RETURN = """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment