cleanup old tls tasks
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-02-04 20:43:52 +01:00
parent fac0e1caa5
commit 8026d71e2a

View File

@ -1,19 +1,6 @@
---
- block:
- name: Copy certs and private key to nginx proxy (content)
copy:
content: "{{ item.src }}"
dest: "{{ item.dest }}"
mode: "{{ item.mode }}"
with_items:
- { src: "{{ pve_tls_key_source }}", dest: '/etc/pki/tls/private/{{ pve_nginx_tls_key_file }}', mode: '0600' }
- { src: "{{ pve_tls_cert_source }}", dest: '/etc/pki/tls/certs/{{ pve_nginx_tls_cert_file }}', mode: '0750' }
loop_control:
label: "{{ item.dest }}"
notify: __nginx_reload
when: pve_tls_source_use_content
- name: Copy certs and private key to nginx proxy (files)
- name: Copy certs and private key to nginx proxy
copy:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
@ -24,7 +11,6 @@
loop_control:
label: "{{ item.dest }}"
notify: __nginx_reload
when: pve_tls_source_use_files
delegate_to: "{{ pve_nginx_server }}"
when: pve_nginx_tls_enabled
become: True