+ 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:
shockrah 2022-04-30 21:55:05 -07:00
parent e0dfca225a
commit 02a47b8418
3 changed files with 44 additions and 23 deletions

View File

@ -39,6 +39,24 @@
- "{{PLUGINS_VOLUME}}:/var/www/app/plugins"
- "{{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

View File

@ -44,6 +44,8 @@
- ../files/music.lablad
- ../files/files.lablad
- ../files/metrics.lablad
- ../files/metrics.lablad
- ../files/todo.lablad
- name: Enable Sites
file:
@ -55,6 +57,7 @@
- music.lablad
- files.lablad
- metrics.lablad
- todo.lablad
notify:
- restart-nginx

View File

@ -8,29 +8,29 @@
include_vars:
dir: ../vars
# - name: Download prometheus Node Explorer static binary tarball
# get_url:
# url: "{{ PROM_URL }}"
# dest: /tmp/prom-node-exporer.tar.gz
#
# - name: Untar node exporter tarball package
# unarchive:
# src: /tmp/prom-node-exporer.tar.gz
# dest: /opt/prom-node-exporter
# creates: /opt/prom-node-exporter
# remote_src: yes
#
# - name: Copy Unit file for node exporter
# copy:
# src: ../files/services/node_exporter.service
# dest: /etc/systemd/system/node_exporter.service
#
# - name: Install Node Exporter Service and Start
# systemd:
# daemon_reload: yes
# name: node_exporter
# state: restarted
# enabled: yes
- name: Download prometheus Node Explorer static binary tarball
get_url:
url: "{{ PROM_URL }}"
dest: /tmp/prom-node-exporer.tar.gz
- name: Untar node exporter tarball package
unarchive:
src: /tmp/prom-node-exporer.tar.gz
dest: /opt/prom-node-exporter
creates: /opt/prom-node-exporter
remote_src: yes
- name: Copy Unit file for node exporter
copy:
src: ../files/services/node_exporter.service
dest: /etc/systemd/system/node_exporter.service
- name: Install Node Exporter Service and Start
systemd:
daemon_reload: yes
name: node_exporter
state: restarted
enabled: yes
- name: Ensure Prom Docker Volume Exists
community.docker.docker_volume: