Commit 2c9cbdf7 authored by Oyvind.Gjesdal's avatar Oyvind.Gjesdal
Browse files

correction yaml

parent 2d580718
......@@ -96,20 +96,20 @@
when: "item.ssl_type | default('certbot')== 'uib' and item.certificate_url is defined"
- name: "Add apache vhosts ssl template"
template:
src: "{{ apache_vhosts_template_ssl }}"
dest: "{{ apache_conf_path }}/00_{{ item.servername }}_ssl.conf"
owner: root
group: root
mode: 0644
backup: true
template:
src: "{{ apache_vhosts_template_ssl }}"
dest: "{{ apache_conf_path }}/00_{{ item.servername }}_ssl.conf"
owner: root
group: root
mode: 0644
backup: true
# validate: "apachectl configtest"
notify: restart apache
when: "item.ssl_type | default('certbot')== 'uib'"
loop: "{{ apache_vhosts }}"
vars:
current_vhost: "{{ item.servername }}"
become: true
notify: restart apache
when: "item.ssl_type | default('certbot')== 'uib'"
loop: "{{ apache_vhosts }}"
vars:
current_vhost: "{{ item.servername }}"
become: true
#- name: "get certificate url from ITA"
#
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment