🧑💻 add ansible tag to dokuwiki jobs
This commit is contained in:
parent
714d0fb460
commit
23851a252a
1 changed files with 10 additions and 0 deletions
10
host-tau.yml
10
host-tau.yml
|
@ -128,16 +128,22 @@
|
|||
ansible.builtin.stat:
|
||||
path: "{{ data_dir }}/dokuwiki"
|
||||
register: dokuwiki_dir
|
||||
tags:
|
||||
- dokuwiki
|
||||
- name: Fail if Dokuwiki data dir does not exist
|
||||
ansible.builtin.fail:
|
||||
msg: "Dokuwiki data dir is missing, please restore from the backup!"
|
||||
when: not dokuwiki_dir.stat.exists
|
||||
tags:
|
||||
- dokuwiki
|
||||
|
||||
- name: Set correct user for Dokuwiki data
|
||||
ansible.builtin.file:
|
||||
path: "{{ data_dir }}/dokuwiki"
|
||||
owner: "1001" # According to container config
|
||||
recurse: yes
|
||||
tags:
|
||||
- dokuwiki
|
||||
|
||||
- name: Setup Dokuwiki Container
|
||||
docker_container:
|
||||
|
@ -155,6 +161,8 @@
|
|||
- "{{ data_dir }}/dokuwiki:/bitnami/dokuwiki:rw"
|
||||
env:
|
||||
TZ: "{{ timezone }}"
|
||||
tags:
|
||||
- dokuwiki
|
||||
|
||||
- name: Setup proxy site for Dokuwiki
|
||||
include_role:
|
||||
|
@ -162,6 +170,8 @@
|
|||
vars:
|
||||
site_name: "{{ dokuwiki_domain }}"
|
||||
proxy_port: "{{ dokuwiki_port }}"
|
||||
tags:
|
||||
- dokuwiki
|
||||
|
||||
|
||||
- name: Setup container for secondary FFMD DNS
|
||||
|
|
Loading…
Reference in a new issue