aboutsummaryrefslogtreecommitdiff
path: root/terraform/hash-loki/play-config.yml
diff options
context:
space:
mode:
Diffstat (limited to 'terraform/hash-loki/play-config.yml')
-rw-r--r--terraform/hash-loki/play-config.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/terraform/hash-loki/play-config.yml b/terraform/hash-loki/play-config.yml
new file mode 100644
index 0000000..955524f
--- /dev/null
+++ b/terraform/hash-loki/play-config.yml
@@ -0,0 +1,17 @@
+- hosts: hash
+ tasks:
+ - become: yes
+ name: mkdir /etc/docker-service/loki
+ file:
+ path: /etc/docker-service/loki
+ state: directory
+
+ - become: yes
+ name: cp /etc/docker-service/loki/loki-config.yaml
+ register: config
+ copy:
+ src: loki-config.yaml
+ dest: /etc/docker-service/loki/loki-config.yaml
+
+# - shell: docker kill --signal HUP loki
+# when: config.changed