2022-02-27 03:19:20 +00:00
|
|
|
---
|
|
|
|
# Account Services
|
|
|
|
- name: Install packages
|
2022-03-28 05:01:23 +00:00
|
|
|
ansible.builtin.package:
|
2022-02-27 03:19:20 +00:00
|
|
|
name:
|
|
|
|
- httpd
|
|
|
|
- mod_ssl
|
|
|
|
- python3
|
|
|
|
- python3-setuptools
|
|
|
|
- python3-kdcproxy
|
|
|
|
state: present
|
|
|
|
|
|
|
|
- name: Deploy relevant httpd configuration
|
2022-03-28 05:01:23 +00:00
|
|
|
ansible.builtin.template:
|
2022-02-27 03:19:20 +00:00
|
|
|
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
|
2022-03-28 05:01:23 +00:00
|
|
|
ansible.builtin.systemd:
|
2022-02-27 03:19:20 +00:00
|
|
|
name: httpd
|
|
|
|
state: running
|
|
|
|
enabled: true
|
|
|
|
...
|