mono-infrastructure/ansible/playbooks/tasks/account_services.yml

28 lines
487 B
YAML
Raw Permalink Normal View History

2021-01-10 00:49:05 +00:00
---
# Account Services
2021-01-22 12:33:00 +00:00
- 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
...