Merge pull request 'fix-lint-208-warning' (!99) from fix-lint-208-warning into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/99
This commit is contained in:
commit
0fd6e3a864
6 changed files with 21 additions and 10 deletions
11
krypton.yml
11
krypton.yml
|
@ -42,13 +42,14 @@
|
|||
|
||||
- name: Ensure openLDAP directories are present.
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
path: "{{ item.path }}"
|
||||
mode: "0755"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ openldap_data }}/ldap"
|
||||
- "{{ openldap_data }}/slapd"
|
||||
- "{{ openldap_data }}/ldif"
|
||||
- "{{ dehydrated_certs_dir }}/{{ openldap_domain }}"
|
||||
- path: "{{ openldap_data }}/ldap"
|
||||
- path: "{{ openldap_data }}/slapd"
|
||||
- path: "{{ openldap_data }}/ldif"
|
||||
- path: "{{ dehydrated_certs_dir }}/{{ openldap_domain }}"
|
||||
|
||||
- name: Ensure container for openLDAP is running.
|
||||
docker_container:
|
||||
|
|
13
pottwal.yml
13
pottwal.yml
|
@ -202,11 +202,14 @@
|
|||
|
||||
- name: Ensure the hedgedoc directories exist
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
path: "{{ item.path }}"
|
||||
mode: "{{ item.mode }}"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/hedgedoc/data/database"
|
||||
- "{{ data_dir }}/hedgedoc/data/uploads"
|
||||
- path: "{{ data_dir }}/hedgedoc/data/database"
|
||||
mode: "0700"
|
||||
- path: "{{ data_dir }}/hedgedoc/data/uploads"
|
||||
mode: "0755"
|
||||
|
||||
- name: Setup docker network
|
||||
docker_network:
|
||||
|
@ -267,6 +270,7 @@
|
|||
- name: Ensure the influxdb directories exist
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
mode: 0700
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/influxdb"
|
||||
|
@ -362,9 +366,10 @@
|
|||
- name: Ensure the uptime-kuma directories exist
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
mode: "0755"
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ data_dir }}/uptimekuma"
|
||||
- "{{ data_dir }}/uptime-kuma"
|
||||
|
||||
- name: Ensure container for uptime-kuma is running
|
||||
docker_container:
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
- name: Ensure the mosquitto directories exist
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
mode: 0755
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ mosquitto_data }}/config"
|
||||
|
@ -52,6 +53,7 @@
|
|||
template:
|
||||
src: "templates/mosquitto.conf.j2"
|
||||
dest: "{{ mosquitto_data }}/config/mosquitto.conf"
|
||||
mode: 0644
|
||||
notify: restart mosquitto
|
||||
|
||||
- name: Ensure mosquitto is running
|
||||
|
|
|
@ -52,6 +52,7 @@
|
|||
template:
|
||||
src: templates/daemon.json.j2
|
||||
dest: /etc/docker/daemon.json
|
||||
mode: "0644"
|
||||
notify: restart docker
|
||||
|
||||
- name: Check current docker-compose version.
|
||||
|
@ -72,7 +73,7 @@
|
|||
get_url:
|
||||
url: https://github.com/docker/compose/releases/download/{{ docker_compose_version }}/docker-compose-Linux-x86_64
|
||||
dest: "{{ docker_compose_path }}"
|
||||
mode: 0755
|
||||
mode: "0755"
|
||||
|
||||
- name: Place admin users in docker group
|
||||
user:
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
template:
|
||||
src: templates/apache-docker-proxy-site.j2
|
||||
dest: /etc/apache2/sites-available/{{ site_name }}.conf
|
||||
mode: "0644"
|
||||
notify: restart apache2
|
||||
|
||||
- name: Activate Apache2 site
|
||||
|
|
1
tau.yml
1
tau.yml
|
@ -88,6 +88,7 @@
|
|||
file:
|
||||
path: "{{ data_dir }}/registry/data"
|
||||
state: directory
|
||||
mode: "0755"
|
||||
|
||||
- name: Setup Docker Registry Container
|
||||
docker_container:
|
||||
|
|
Loading…
Reference in a new issue