keytab: Prefix variable names with keytab_

This commit is contained in:
Timo Makinen 2023-10-14 16:01:08 +00:00
parent 4fb04065f9
commit e2c59bc220
11 changed files with 24 additions and 24 deletions

View file

@ -28,7 +28,7 @@
- ansible_host
- certbot
- role: keytab
principals:
keytab_principals:
- "host/{{ inventory_hostname }}@{{ kerberos_realm }}"
- nfs_client
- sssd

View file

@ -28,9 +28,9 @@
- collab
- mod_auth_gssapi
- role: keytab
keytab: /etc/httpd/httpd.keytab
principals: HTTP/collab.foo.sh@FOO.SH
group: apache
keytab_path: /etc/httpd/httpd.keytab
keytab_principals: HTTP/collab.foo.sh@FOO.SH
keytab_group: apache
- ldap
tasks:

View file

@ -26,7 +26,7 @@
roles:
- base
- role: keytab
principals:
keytab_principals:
- "host/{{ inventory_hostname }}@{{ kerberos_realm }}"
- "smtp/{{ mail_server }}@{{ kerberos_realm }}"
- nfs_client

View file

@ -38,7 +38,7 @@
- sssd
- nfs_server
- role: keytab
principals: "nfs/{{ inventory_hostname }}@FOO.SH"
keytab_principals: "nfs/{{ inventory_hostname }}@FOO.SH"
tasks:
- name: Copy exports file

View file

@ -50,5 +50,5 @@
ansible.builtin.import_role:
name: keytab
vars:
keytab: /etc/cups/cups.keytab
principals: "HTTP/print.foo.sh@{{ kerberos_realm }}"
keytab_path: /etc/cups/cups.keytab
keytab_principals: "HTTP/print.foo.sh@{{ kerberos_realm }}"

View file

@ -15,7 +15,7 @@
roles:
- base
- role: keytab
principals:
keytab_principals:
- "host/{{ inventory_hostname }}@{{ kerberos_realm }}"
- "nfs/{{ inventory_hostname }}@{{ kerberos_realm }}"
- nfs_client

View file

@ -15,7 +15,7 @@
roles:
- base
- role: keytab
principals:
keytab_principals:
- "host/{{ inventory_hostname }}@FOO.SH"
- "nfs/{{ inventory_hostname }}@FOO.SH"
- nfs_client

View file

@ -27,9 +27,9 @@
- base
- mod_auth_gssapi
- role: keytab
keytab: /etc/httpd/httpd.keytab
principals: HTTP/zm.foo.sh@FOO.SH
group: apache
keytab_path: /etc/httpd/httpd.keytab
keytab_principals: HTTP/zm.foo.sh@FOO.SH
keytab_group: apache
tasks:
- name: Run handlers to get interfaces configured