@ -5,7 +5,7 @@
pre_tasks:
- name: Check if ansible cannot be run here
stat:
ansible.builtin.stat:
path: /etc/no-ansible
register: no_ansible
@ -17,7 +17,7 @@
fail_msg: "/etc/no-ansible exists - skipping run on this node"
- name: Enable the proper copr for gitea
command: "dnf copr enable nalika/gitea -y"
ansible.builtin.command: "dnf copr enable nalika/gitea -y"
check_mode: false
changed_when: "1 != 1"
@ -1,6 +1,6 @@
---
- name: Check for gitea.configured
path: "/etc/gitea.configured"
register: gitea_configured_file
@ -9,7 +9,7 @@
- mock
- name: Deploy Gitea configuration
template:
ansible.builtin.template:
src: "etc/gitea/conf/app.ini.j2"
dest: "/etc/gitea/conf/app.ini"
owner: git
@ -31,7 +31,7 @@
# - gitea_web_config|bool
- name: "Install httpd"
dnf:
ansible.builtin.dnf:
name: httpd
state: present
when: