Role za apache_openidc bi moral delovati na fresh installu

This commit is contained in:
polz 2025-07-30 17:13:19 +02:00
parent b324daff08
commit c64a3772ef
2 changed files with 13 additions and 9 deletions

View file

@ -1,13 +1,16 @@
- name: Install Apache OIDC module
apk:
name: apache-mod-auth-openidc
state: latest
update_cache: true
repository: http://dl-cdn.alpinelinux.org/alpine/edge/testing
- name: Enable testing repository
lineinfile:
path: /etc/apk/repositories
line: "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing"
- name: Create config file
template:
src: mod-auth-openidc.conf
dest: /etc/apache2/conf.d/mod-auth-openidc.conf
- name: Install Apache OIDC module
apk:
name: apache-mod-auth-openidc@testing
state: latest
update_cache: true