🧑💻 add ansible tag to redmine jobs
This commit is contained in:
parent
f1c7dcdf2a
commit
66ebb7a09b
1 changed files with 12 additions and 0 deletions
|
@ -350,16 +350,22 @@
|
||||||
ansible.builtin.stat:
|
ansible.builtin.stat:
|
||||||
path: "{{ data_dir }}/redmine"
|
path: "{{ data_dir }}/redmine"
|
||||||
register: redmine_dir
|
register: redmine_dir
|
||||||
|
tags:
|
||||||
|
- redmine
|
||||||
- name: Fail if redmine data dir does not exist
|
- name: Fail if redmine data dir does not exist
|
||||||
ansible.builtin.fail:
|
ansible.builtin.fail:
|
||||||
msg: "Redmine data dir is missing, please restore from the backup!"
|
msg: "Redmine data dir is missing, please restore from the backup!"
|
||||||
when: not redmine_dir.stat.exists
|
when: not redmine_dir.stat.exists
|
||||||
|
tags:
|
||||||
|
- redmine
|
||||||
|
|
||||||
- name: Setup Redmine docker network
|
- name: Setup Redmine docker network
|
||||||
docker_network:
|
docker_network:
|
||||||
name: redminenet
|
name: redminenet
|
||||||
state: present
|
state: present
|
||||||
internal: true
|
internal: true
|
||||||
|
tags:
|
||||||
|
- redmine
|
||||||
|
|
||||||
- name: Setup Redmine MySQL container
|
- name: Setup Redmine MySQL container
|
||||||
docker_container:
|
docker_container:
|
||||||
|
@ -377,6 +383,8 @@
|
||||||
- "{{ data_dir }}/redmine/mysql:/var/lib/mysql"
|
- "{{ data_dir }}/redmine/mysql:/var/lib/mysql"
|
||||||
networks:
|
networks:
|
||||||
- name: redminenet
|
- name: redminenet
|
||||||
|
tags:
|
||||||
|
- redmine
|
||||||
|
|
||||||
- name: Setup Redmine container
|
- name: Setup Redmine container
|
||||||
docker_container:
|
docker_container:
|
||||||
|
@ -401,6 +409,8 @@
|
||||||
networks: allow_more_present
|
networks: allow_more_present
|
||||||
networks:
|
networks:
|
||||||
- name: redminenet
|
- name: redminenet
|
||||||
|
tags:
|
||||||
|
- redmine
|
||||||
|
|
||||||
- name: Setup proxy site "{{ redmine_domain_name }}"
|
- name: Setup proxy site "{{ redmine_domain_name }}"
|
||||||
include_role:
|
include_role:
|
||||||
|
@ -408,6 +418,8 @@
|
||||||
vars:
|
vars:
|
||||||
site_name: "{{ redmine_domain_name }}"
|
site_name: "{{ redmine_domain_name }}"
|
||||||
proxy_port: "{{ redmine_host_port }}"
|
proxy_port: "{{ redmine_host_port }}"
|
||||||
|
tags:
|
||||||
|
- redmine
|
||||||
|
|
||||||
- name: Ensure the uptime-kuma directories exist
|
- name: Ensure the uptime-kuma directories exist
|
||||||
file:
|
file:
|
||||||
|
|
Loading…
Reference in a new issue