mirror of
https://github.com/rocky-linux/infrastructure
synced 2024-11-16 18:51:23 +00:00
27 lines
483 B
YAML
27 lines
483 B
YAML
---
|
|
# Account Services
|
|
- name: Install packages
|
|
package:
|
|
name:
|
|
- httpd
|
|
- mod_ssl
|
|
- python3
|
|
- python3-setuptools
|
|
- python3-kdcproxy
|
|
state: present
|
|
|
|
- name: Deploy relevant httpd configuration
|
|
template:
|
|
src: "etc/httpd/conf.d/id.conf.j2"
|
|
dest: "/etc/httpd/conf.d/id.conf"
|
|
owner: root
|
|
group: root
|
|
mode: '0644'
|
|
notify: restart_httpd
|
|
|
|
- name: Enable and start
|
|
systemd:
|
|
name: httpd
|
|
state: running
|
|
enabled: true
|