fix(podman_keycloak): allow override of podman username
This commit is contained in:
parent
f65ad3fce2
commit
57c58eb26a
1 changed files with 3 additions and 4 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
role: sr2c.core.podman_host
|
role: sr2c.core.podman_host
|
||||||
vars:
|
vars:
|
||||||
podman_host_minimum_unpriv_port: 80
|
podman_host_minimum_unpriv_port: 80
|
||||||
podman_host_rootless_users: ["keycloak"]
|
podman_host_rootless_users: ["{{ podman_keycloak_podman_rootless_user }}"]
|
||||||
|
|
||||||
- name: Podman Keycloak | PATCH | Enable http service with firewalld
|
- name: Podman Keycloak | PATCH | Enable http service with firewalld
|
||||||
ansible.posix.firewalld:
|
ansible.posix.firewalld:
|
||||||
|
|
@ -22,7 +22,6 @@
|
||||||
permanent: true
|
permanent: true
|
||||||
zone: public
|
zone: public
|
||||||
|
|
||||||
# TODO: These will be relabelled by podman but in the future we should label them from the start
|
|
||||||
- name: Podman Keycloak | PATCH | Create service configuration directories
|
- name: Podman Keycloak | PATCH | Create service configuration directories
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "/home/{{ podman_keycloak_podman_rootless_user }}/{{ item }}"
|
path: "/home/{{ podman_keycloak_podman_rootless_user }}/{{ item }}"
|
||||||
|
|
@ -45,7 +44,7 @@
|
||||||
with_items: "{{ podman_keycloak_keycloak_providers }}"
|
with_items: "{{ podman_keycloak_keycloak_providers }}"
|
||||||
become: true
|
become: true
|
||||||
become_user: "{{ podman_keycloak_podman_rootless_user }}"
|
become_user: "{{ podman_keycloak_podman_rootless_user }}"
|
||||||
notify: restart keycloak
|
notify: Restart keycloak
|
||||||
|
|
||||||
- name: Podman Keycloak | PATCH | Install systemd target
|
- name: Podman Keycloak | PATCH | Install systemd target
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
|
|
@ -142,7 +141,7 @@
|
||||||
group: "{{ podman_keycloak_podman_rootless_user }}"
|
group: "{{ podman_keycloak_podman_rootless_user }}"
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
become: true
|
become: true
|
||||||
notify: restart nginx
|
notify: Restart nginx
|
||||||
|
|
||||||
- name: Podman Keycloak | PATCH | Configure the LDAP directory
|
- name: Podman Keycloak | PATCH | Configure the LDAP directory
|
||||||
ansible.builtin.include_tasks:
|
ansible.builtin.include_tasks:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue