File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
src/roles/httpd/tasks/external_auth Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 11---
22- name : Remove external authentication configuration
33 ansible.builtin.file :
4- path : /etc/httpd/conf.d/05-foreman-ssl .d/external_auth.conf
4+ path : " /etc/httpd/conf.d/05-{{ item }} .d/external_auth.conf"
55 state : absent
66 notify :
77 - Restart httpd
8+ loop :
9+ - foreman
10+ - foreman-ssl
811
912- name : Remove Apache module configuration files for IPA authentication
1013 ansible.builtin.file :
Original file line number Diff line number Diff line change 7272
7373- name : Create directory for Apache configuration fragments
7474 ansible.builtin.file :
75- path : /etc/httpd/conf.d/05-foreman-ssl .d
75+ path : /etc/httpd/conf.d/05-{{ item }} .d
7676 state : directory
7777 mode : " 0755"
78+ loop :
79+ - foreman
80+ - foreman-ssl
7881
7982- name : Deploy external authentication configuration
8083 ansible.builtin.template :
8184 src : external_auth.conf.j2
82- dest : /etc/httpd/conf.d/05-foreman-ssl .d/external_auth.conf
85+ dest : /etc/httpd/conf.d/05-{{ item }} .d/external_auth.conf
8386 mode : " 0644"
8487 notify :
8588 - Restart httpd
89+ loop :
90+ - foreman
91+ - foreman-ssl
You can’t perform that action at this time.
0 commit comments