+ Kanbaord configs
* Uncommenting test code which was working fine The commented lines have ran but other things broke, and they weren't patched in correctly.
This commit is contained in:
parent
e0dfca225a
commit
02a47b8418
@ -39,6 +39,24 @@
|
|||||||
- "{{PLUGINS_VOLUME}}:/var/www/app/plugins"
|
- "{{PLUGINS_VOLUME}}:/var/www/app/plugins"
|
||||||
- "{{SSL_VOLUME}}:/etc/nginx/ssl"
|
- "{{SSL_VOLUME}}:/etc/nginx/ssl"
|
||||||
|
|
||||||
|
- name: Create Nginx Config for service
|
||||||
|
template:
|
||||||
|
dest: /etc/nginx/sites-available/todo.lablad
|
||||||
|
src: ../templates/proxy.conf.j2
|
||||||
|
notify:
|
||||||
|
- restart-nginx
|
||||||
|
vars:
|
||||||
|
SERVER_NAME: todo.lablad
|
||||||
|
PORT: KANBOARD_PORT
|
||||||
|
|
||||||
|
- name: Restart Nginx
|
||||||
|
service:
|
||||||
|
name: nginx
|
||||||
|
state: restarted
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -44,6 +44,8 @@
|
|||||||
- ../files/music.lablad
|
- ../files/music.lablad
|
||||||
- ../files/files.lablad
|
- ../files/files.lablad
|
||||||
- ../files/metrics.lablad
|
- ../files/metrics.lablad
|
||||||
|
- ../files/metrics.lablad
|
||||||
|
- ../files/todo.lablad
|
||||||
|
|
||||||
- name: Enable Sites
|
- name: Enable Sites
|
||||||
file:
|
file:
|
||||||
@ -55,6 +57,7 @@
|
|||||||
- music.lablad
|
- music.lablad
|
||||||
- files.lablad
|
- files.lablad
|
||||||
- metrics.lablad
|
- metrics.lablad
|
||||||
|
- todo.lablad
|
||||||
notify:
|
notify:
|
||||||
- restart-nginx
|
- restart-nginx
|
||||||
|
|
||||||
|
@ -8,29 +8,29 @@
|
|||||||
include_vars:
|
include_vars:
|
||||||
dir: ../vars
|
dir: ../vars
|
||||||
|
|
||||||
# - name: Download prometheus Node Explorer static binary tarball
|
- name: Download prometheus Node Explorer static binary tarball
|
||||||
# get_url:
|
get_url:
|
||||||
# url: "{{ PROM_URL }}"
|
url: "{{ PROM_URL }}"
|
||||||
# dest: /tmp/prom-node-exporer.tar.gz
|
dest: /tmp/prom-node-exporer.tar.gz
|
||||||
#
|
|
||||||
# - name: Untar node exporter tarball package
|
- name: Untar node exporter tarball package
|
||||||
# unarchive:
|
unarchive:
|
||||||
# src: /tmp/prom-node-exporer.tar.gz
|
src: /tmp/prom-node-exporer.tar.gz
|
||||||
# dest: /opt/prom-node-exporter
|
dest: /opt/prom-node-exporter
|
||||||
# creates: /opt/prom-node-exporter
|
creates: /opt/prom-node-exporter
|
||||||
# remote_src: yes
|
remote_src: yes
|
||||||
#
|
|
||||||
# - name: Copy Unit file for node exporter
|
- name: Copy Unit file for node exporter
|
||||||
# copy:
|
copy:
|
||||||
# src: ../files/services/node_exporter.service
|
src: ../files/services/node_exporter.service
|
||||||
# dest: /etc/systemd/system/node_exporter.service
|
dest: /etc/systemd/system/node_exporter.service
|
||||||
#
|
|
||||||
# - name: Install Node Exporter Service and Start
|
- name: Install Node Exporter Service and Start
|
||||||
# systemd:
|
systemd:
|
||||||
# daemon_reload: yes
|
daemon_reload: yes
|
||||||
# name: node_exporter
|
name: node_exporter
|
||||||
# state: restarted
|
state: restarted
|
||||||
# enabled: yes
|
enabled: yes
|
||||||
|
|
||||||
- name: Ensure Prom Docker Volume Exists
|
- name: Ensure Prom Docker Volume Exists
|
||||||
community.docker.docker_volume:
|
community.docker.docker_volume:
|
||||||
|
Loading…
Reference in New Issue
Block a user