servers/roles/apache_openidc/tasks/main.yml

16 lines
401 B
YAML

- 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