mod_auth_gssapi: ansible-lint fixes

This commit is contained in:
Timo Makinen 2022-10-29 18:19:48 +00:00
parent b370fd019d
commit bcbbaece64

View file

@ -1,29 +1,29 @@
---
- name: install packages
package:
- name: Install packages
ansible.builtin.package:
name: mod_auth_gssapi
state: installed
notify: restart apache
- name: allow httpd to connect network
seboolean:
- name: Allow httpd to connect network
ansible.posix.seboolean:
name: httpd_can_network_connect
state: true
persistent: true
- name: create httpd service drop-in directory
file:
- name: Create httpd service drop-in directory
ansible.builtin.file:
path: /etc/systemd/system/httpd.service.d
state: directory
mode: 0755
owner: root
group: "{{ ansible_wheel }}"
- name: set keytab path
copy:
- name: Set keytab path
ansible.builtin.copy:
dest: /etc/systemd/system/httpd.service.d/keytab.conf
content: "[Service]\nEnvironment=KRB5_KTNAME=/etc/httpd/httpd.keytab\n"
mode: 0644
owner: root
group: "{{ ansible_wheel }}"
notify: restart apache
notify: Restart apache