ansible-ops-management/tasks/repository.yml

26 lines
589 B
YAML
Raw Normal View History

2022-02-27 03:19:20 +00:00
---
# no tasks yet
2023-08-28 01:17:49 +00:00
- 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
2022-02-27 03:19:20 +00:00
...