|
1 | 1 | --- |
2 | 2 | - set_fact: |
3 | | - ca_data: "{{ lookup('file', '{{ domain }}/ca.pem') }}" |
| 3 | + ca_data: "{{ lookup('file', '{{ domains_root }}/{{ domain }}/ca.pem') }}" |
4 | 4 | - set_fact: |
5 | | - cert_data: "{{ lookup('file', '{{ domain }}/cert.pem') }}" |
| 5 | + cert_data: "{{ lookup('file', '{{ domains_root }}/{{ domain }}/cert.pem') }}" |
6 | 6 | - set_fact: |
7 | | - key_data: "{{ lookup('file', '{{ domain }}/key.pem') }}" |
| 7 | + key_data: "{{ lookup('file', '{{ domains_root }}/{{ domain }}/key.pem') }}" |
8 | 8 | - set_fact: |
9 | | - chained_data: "{{ lookup('file', '{{ domain }}/chained.pem') }}" |
| 9 | + chained_data: "{{ lookup('file', '{{ domains_root }}/{{ domain }}/chained.pem') }}" |
10 | 10 | - set_fact: |
11 | | - dhparam_data: "{{ lookup('file', '{{ domain }}/dhparam.pem') }}" |
| 11 | + dhparam_data: "{{ lookup('file', '{{ domains_root }}/{{ domain }}/dhparam.pem') }}" |
12 | 12 |
|
13 | 13 | - name: create configMap folder |
14 | 14 | file: |
|
19 | 19 | tags: [ configure_proxy, configure_files ] |
20 | 20 | template: |
21 | 21 | src: certs.yml |
22 | | - dest: "{{ config_maps_path }}/{{ name }}-certs.yml" |
| 22 | + dest: "{{ config_maps_path }}/{{ name }}-certs" |
23 | 23 |
|
24 | 24 | - name: create proxy template |
25 | 25 | tags: [ configure_proxy, configure_files ] |
26 | 26 | template: |
27 | 27 | src: proxy-nginx.conf |
28 | | - dest: "{{ config_maps_path }}/{{ name }}-base-config.yml" |
| 28 | + dest: "{{ config_maps_path }}/{{ name }}-base-config" |
29 | 29 |
|
30 | 30 | - name: create mixpanel template |
31 | 31 | tags: [ configure_proxy, configure_files ] |
32 | 32 | template: |
33 | 33 | src: mixpanel.tmpl |
34 | | - dest: "{{ config_maps_path }}/{{ name }}-mixpanel-config.yml" |
| 34 | + dest: "{{ config_maps_path }}/{{ name }}-mixpanel-config" |
35 | 35 |
|
36 | 36 | - name: put api template in place |
37 | 37 | tags: [ configure_proxy, configure_files ] |
38 | 38 | template: |
39 | 39 | src: sites-enabled.tmpl |
40 | | - dest: "{{ config_maps_path }}/{{ name }}-sites-enabled-config.yml" |
| 40 | + dest: "{{ config_maps_path }}/{{ name }}-sites-enabled-config" |
0 commit comments