improve some FQCN
This commit is contained in:
parent
9e804148a6
commit
e8e4660334
@ -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
|
||||
stat:
|
||||
ansible.builtin.stat:
|
||||
path: "/etc/gitea.configured"
|
||||
register: gitea_configured_file
|
||||
check_mode: false
|
||||
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user