1
1
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_gitea.git synced 2024-08-16 11:39:50 +02:00
ansible_role_gitea/tasks/configure.yml
Michael Grote fb4293b3e6 fix typo
2023-07-19 19:38:47 +02:00

18 lines
411 B
YAML

---
- name: "Configure gitea"
become: true
ansible.builtin.template:
src: gitea.ini.j2
dest: "{{ gitea_configuration_path }}/gitea.ini"
owner: "{{ gitea_user }}"
group: "{{ gitea_group }}"
mode: 0600
notify: "Restart gitea"
- name: "Service gitea"
become: true
ansible.builtin.systemd:
name: gitea
state: started
enabled: true
when: ansible_service_mgr == "systemd"