continue work on sensor deploy

This commit is contained in:
t3chn0m4g3
2024-02-23 20:30:12 +01:00
parent 127f0c2c92
commit 2723becd96
3 changed files with 46 additions and 24 deletions

View File

@ -8,6 +8,12 @@
remote_docker_compose_path: "~/tpotce/docker-compose.yml"
env_file_path: "~/tpotce/.env"
tasks:
- name: Ensure the destination directory exists
ansible.builtin.file:
path: "{{ remote_cert_path | dirname }}"
state: directory
mode: '770'
- name: Copy nginx.crt from local to remote host
ansible.builtin.copy:
src: "{{ local_nginx_cert_path }}"