Merging CI integration into Main branch #2

Merged
chris merged 7 commits from development into main 2023-11-26 19:25:10 -05:00
Showing only changes of commit 9a54413b91 - Show all commits

View File

@ -2,7 +2,7 @@
- name: Deploy Gitea
hosts: all
become: true
gather_facts: false
gather_facts: true
vars:
@ -73,6 +73,9 @@
- /etc/gitea
- name: Manage Gitea service
when: ansible_virtualization_type != "container"
block:
- name: Deploy unit file for Gitea
ansible.builtin.template:
src : templates/gitea.service.j2
@ -81,12 +84,10 @@
group : root
mode : "0644"
- name: Reload Systemd
ansible.builtin.systemd:
daemon_reload: true
- name: Start Gitea
ansible.builtin.service:
name : gitea
@ -99,6 +100,7 @@
ansible.builtin.service:
name : gitea
state : restarted
when: ansible_virtualization_type != "container"
...