ansible-ops-management/tasks/account_services.yml
2022-03-27 22:01:23 -07:00

27 lines
535 B
YAML

---
# Account Services
- name: Install packages
ansible.builtin.package:
name:
- httpd
- mod_ssl
- python3
- python3-setuptools
- python3-kdcproxy
state: present
- name: Deploy relevant httpd configuration
ansible.builtin.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
ansible.builtin.systemd:
name: httpd
state: running
enabled: true
...