ansible-ops-management/tasks/repository.yml
2023-08-27 18:17:49 -07:00

26 lines
589 B
YAML

---
# no tasks yet
- name: Configure seboolean
ansible.posix.seboolean:
name: "{{ item }}"
persistent: true
state: true
notify: restart_nginx
with_items: "{{ repopool_http_booleans }}"
- name: Install http packages
ansible.builtin.dnf:
name: "{{ repopool_http_packages }}"
state: present
- name: Deploy nginx config
ansible.builtin.template:
src: "etc/nginx/conf.d/repopool-http-production.conf.j2"
dest: "/etc/nginx/conf.d/repopool-http-production.conf"
owner: root
group: root
mode: '0644'
backup: true
notify: restart_nginx
...