Update install_xwiki.yml
This commit is contained in:
@@ -15,7 +15,6 @@
|
|||||||
- name: Installeer XWiki standalone met HTTPS via Docker en Apache reverse proxy
|
- name: Installeer XWiki standalone met HTTPS via Docker en Apache reverse proxy
|
||||||
hosts: xwiki
|
hosts: xwiki
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
vars:
|
vars:
|
||||||
ansible_python_interpreter: /usr/bin/python3
|
ansible_python_interpreter: /usr/bin/python3
|
||||||
|
|
||||||
@@ -51,7 +50,7 @@
|
|||||||
image: xwiki:lts-mysql-tomcat
|
image: xwiki:lts-mysql-tomcat
|
||||||
restart_policy: always
|
restart_policy: always
|
||||||
published_ports:
|
published_ports:
|
||||||
- "127.0.0.1:8080"
|
- "127.0.0.1:8080:8080"
|
||||||
env:
|
env:
|
||||||
DB_HOST: "{{ mariadb_container_name }}"
|
DB_HOST: "{{ mariadb_container_name }}"
|
||||||
DB_DATABASE: "{{ xwiki_db_name }}"
|
DB_DATABASE: "{{ xwiki_db_name }}"
|
||||||
@@ -156,13 +155,3 @@
|
|||||||
name: apache2
|
name: apache2
|
||||||
state: restarted
|
state: restarted
|
||||||
when: "'Syntax OK' in apache_config.stdout or 'Syntax OK' in apache_config.stderr"
|
when: "'Syntax OK' in apache_config.stdout or 'Syntax OK' in apache_config.stderr"
|
||||||
|
|
||||||
- name: Controleer of XWiki bereikbaar is via HTTPS
|
|
||||||
uri:
|
|
||||||
url: "https://{{ xwiki_domain }}"
|
|
||||||
validate_certs: yes
|
|
||||||
status_code: 200
|
|
||||||
register: result
|
|
||||||
retries: 10
|
|
||||||
delay: 10
|
|
||||||
until: result.status == 200
|
|
||||||
|
|||||||
Reference in New Issue
Block a user