Debian Codegraph @

ansible_collections/community/aws/tests/integration/targets/acm_certificate/defaults/main.yml

raw
1 ---
2 # we'll generate 3 certificates locally for the test
3 # Upload the first
4 # overwrite it with the second
5 # and the third is unrelated, to check we only get info about the first when we want
6 local_certs:
7 - priv_key: "{{ remote_tmp_dir }}/private-1.pem"
8 cert: "{{ remote_tmp_dir }}/public-1.pem"
9 csr: "{{ remote_tmp_dir }}/csr-1.csr"
10 domain: "acm1.{{ aws_acm_test_uuid }}.ansible.com"
11 name: "{{ resource_prefix }}_{{ aws_acm_test_uuid }}_1"
12
13 - priv_key: "{{ remote_tmp_dir }}/private-2.pem"
14 cert: "{{ remote_tmp_dir }}/public-2.pem"
15 csr: "{{ remote_tmp_dir }}/csr-2.csr"
16 domain: "acm2.{{ aws_acm_test_uuid }}.ansible.com"
17 name: "{{ resource_prefix }}_{{ aws_acm_test_uuid }}_2"
18
19 - priv_key: "{{ remote_tmp_dir }}/private-3.pem"
20 cert: "{{ remote_tmp_dir }}/public-3.pem"
21 csr: "{{ remote_tmp_dir }}/csr-3.csr"
22 domain: "acm3.{{ aws_acm_test_uuid }}.ansible.com"
23 name: "{{ resource_prefix }}_{{ aws_acm_test_uuid }}_3"
24
25 # we'll have one private key
26 # make 2 chains using it
27 # so we can test what happens when you change just the chain
28 # not the domain or key
29 chained_cert:
30 priv_key: "{{ remote_tmp_dir }}/private-ch-0.pem"
31 domain: "acm-ch.{{ aws_acm_test_uuid }}.ansible.com"
32 name: "{{ resource_prefix }}_{{ aws_acm_test_uuid }}_4"
33 chains:
34 - cert: "{{ remote_tmp_dir }}/public-ch-0.pem"
35 csr: "{{ remote_tmp_dir }}/csr-ch-0.csr"
36 ca: 0 # index into local_certs
37 - cert: "{{ remote_tmp_dir }}/public-ch-1.pem"
38 csr: "{{ remote_tmp_dir }}/csr-ch-1.csr"
39 ca: 1 # index into local_certs
40