From 97797976ef058cd5712e06ba8d4733d005e605e0 Mon Sep 17 00:00:00 2001 From: David Rotermund Date: Fri, 26 Apr 2024 16:27:19 +0200 Subject: [PATCH] Update --- install_scripts/install_code.yaml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/install_scripts/install_code.yaml b/install_scripts/install_code.yaml index 95355af..fabf36b 100644 --- a/install_scripts/install_code.yaml +++ b/install_scripts/install_code.yaml @@ -37,7 +37,7 @@ name: code-server image: lscr.io/linuxserver/code-server:latest state: started - recreate: yes + recreate: no restart_policy: always volumes: @@ -97,21 +97,21 @@ } } -# - name: copy key -# ansible.builtin.copy: -# src: "/config/certs/key.pem" -# dest: "/root/nginx/key.pem" -# owner: root -# group: root -# mode: "0600" + - name: copy key + ansible.builtin.copy: + src: "/config/certs/key.pem" + dest: "/root/nginx/key.pem" + owner: root + group: root + mode: "0600" -# - name: copy ca -# ansible.builtin.copy: -# src: "/config/certs/crt_ca.pem" -# dest: "/root/nginx/ca.pem" -# owner: root -# group: root -# mode: "0600" + - name: copy ca + ansible.builtin.copy: + src: "/config/certs/crt_ca.pem" + dest: "/root/nginx/ca.pem" + owner: root + group: root + mode: "0600" - name: Create nginx container community.docker.docker_container: