improve some FQCN
This commit is contained in:
parent
9e804148a6
commit
e8e4660334
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Check if ansible cannot be run here
|
- name: Check if ansible cannot be run here
|
||||||
stat:
|
ansible.builtin.stat:
|
||||||
path: /etc/no-ansible
|
path: /etc/no-ansible
|
||||||
register: no_ansible
|
register: no_ansible
|
||||||
|
|
||||||
@ -17,7 +17,7 @@
|
|||||||
fail_msg: "/etc/no-ansible exists - skipping run on this node"
|
fail_msg: "/etc/no-ansible exists - skipping run on this node"
|
||||||
|
|
||||||
- name: Enable the proper copr for gitea
|
- 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
|
check_mode: false
|
||||||
changed_when: "1 != 1"
|
changed_when: "1 != 1"
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Check for gitea.configured
|
- name: Check for gitea.configured
|
||||||
stat:
|
ansible.builtin.stat:
|
||||||
path: "/etc/gitea.configured"
|
path: "/etc/gitea.configured"
|
||||||
register: gitea_configured_file
|
register: gitea_configured_file
|
||||||
check_mode: false
|
check_mode: false
|
||||||
@ -9,7 +9,7 @@
|
|||||||
- mock
|
- mock
|
||||||
|
|
||||||
- name: Deploy Gitea configuration
|
- name: Deploy Gitea configuration
|
||||||
template:
|
ansible.builtin.template:
|
||||||
src: "etc/gitea/conf/app.ini.j2"
|
src: "etc/gitea/conf/app.ini.j2"
|
||||||
dest: "/etc/gitea/conf/app.ini"
|
dest: "/etc/gitea/conf/app.ini"
|
||||||
owner: git
|
owner: git
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
# - gitea_web_config|bool
|
# - gitea_web_config|bool
|
||||||
|
|
||||||
- name: "Install httpd"
|
- name: "Install httpd"
|
||||||
dnf:
|
ansible.builtin.dnf:
|
||||||
name: httpd
|
name: httpd
|
||||||
state: present
|
state: present
|
||||||
when:
|
when:
|
||||||
|
Loading…
Reference in New Issue
Block a user