diff options
author | Elizabeth Hunt <me@liz.coffee> | 2025-04-27 21:15:30 -0700 |
---|---|---|
committer | Elizabeth Hunt <me@liz.coffee> | 2025-04-27 21:25:52 -0700 |
commit | daef0cf448af17357b552245f39067a9d340ce3d (patch) | |
tree | f65a660f7232f057b0c14e477c166006bfb83f87 /playbooks/roles/nginx-proxy/tasks | |
parent | 1dcdfe34a74708f88aad68af965f4bb5c79adff1 (diff) | |
download | infra-daef0cf448af17357b552245f39067a9d340ce3d.tar.gz infra-daef0cf448af17357b552245f39067a9d340ce3d.zip |
Waow
Diffstat (limited to 'playbooks/roles/nginx-proxy/tasks')
-rw-r--r-- | playbooks/roles/nginx-proxy/tasks/main.yml | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/playbooks/roles/nginx-proxy/tasks/main.yml b/playbooks/roles/nginx-proxy/tasks/main.yml index 50958e7..aa7f922 100644 --- a/playbooks/roles/nginx-proxy/tasks/main.yml +++ b/playbooks/roles/nginx-proxy/tasks/main.yml @@ -1,17 +1,13 @@ --- -- name: Build nginx-proxy compose dirs - ansible.builtin.file: - state: directory - dest: '{{ nginx_proxy_base }}/{{ item.path }}' - with_filetree: '../templates' - when: item.state == 'directory' - -- name: Build nginx-proxy compose files - ansible.builtin.template: - src: '{{ item.src }}' - dest: '{{ nginx_proxy_base }}/{{ item.path }}' - with_filetree: '../templates' - when: item.state == 'file' - notify: - - (Re)start nginx-proxy +- name: Deploy nginx-proxy + ansible.builtin.import_tasks: manage-docker-compose-service.yml + vars: + service_name: nginx-proxy + template_render_dir: "../templates" + service_destination_dir: "{{ nginx_proxy_base }}" + state: restarted +# can't rollout the nginx-proxy without a parent reverse proxy. which +# would need a reverse proxy to rollout. which would need a... yeah you +# get the idea. +# rollout_services: |