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