fix: fix missing file permissions for role setup_http_site_proxy
This commit is contained in:
parent
7555a13bf8
commit
bbf01577fd
3 changed files with 3 additions and 1 deletions
|
@ -270,7 +270,7 @@
|
||||||
- name: Ensure the influxdb directories exist
|
- name: Ensure the influxdb directories exist
|
||||||
file:
|
file:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
mode: "0700"
|
mode: 0700
|
||||||
state: directory
|
state: directory
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ data_dir }}/influxdb"
|
- "{{ data_dir }}/influxdb"
|
||||||
|
|
|
@ -53,6 +53,7 @@
|
||||||
template:
|
template:
|
||||||
src: "templates/mosquitto.conf.j2"
|
src: "templates/mosquitto.conf.j2"
|
||||||
dest: "{{ mosquitto_data }}/config/mosquitto.conf"
|
dest: "{{ mosquitto_data }}/config/mosquitto.conf"
|
||||||
|
mode: 0644
|
||||||
notify: restart mosquitto
|
notify: restart mosquitto
|
||||||
|
|
||||||
- name: Ensure mosquitto is running
|
- name: Ensure mosquitto is running
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
template:
|
template:
|
||||||
src: templates/apache-docker-proxy-site.j2
|
src: templates/apache-docker-proxy-site.j2
|
||||||
dest: /etc/apache2/sites-available/{{ site_name }}.conf
|
dest: /etc/apache2/sites-available/{{ site_name }}.conf
|
||||||
|
mode: 0644
|
||||||
notify: restart apache2
|
notify: restart apache2
|
||||||
|
|
||||||
- name: Activate Apache2 site
|
- name: Activate Apache2 site
|
||||||
|
|
Loading…
Reference in a new issue