Fix some errors in replacement

This commit is contained in:
Salt 2020-08-02 19:59:58 -05:00
parent 4870c67c9c
commit de9c36b4ad

View File

@ -34,8 +34,8 @@
email_address: "rehashedsalt@cock.li" email_address: "rehashedsalt@cock.li"
- name: Create challenge for CSR - name: Create challenge for CSR
acme_certificate: acme_certificate:
acme.directory: "{{ acme.directory }}" acme_directory: "{{ acme.directory }}"
acme.version: 2 acme_version: 2
terms_agreed: yes terms_agreed: yes
account_email: "rehashedsalt@cock.li" account_email: "rehashedsalt@cock.li"
account_key: "/etc/pki/cert/private/account.key" account_key: "/etc/pki/cert/private/account.key"
@ -72,8 +72,8 @@
when: com_challenge['challenge_data']|length > 0 when: com_challenge['challenge_data']|length > 0
- name: Create certificate - name: Create certificate
acme_certificate: acme_certificate:
acme.directory: "{{ acme.directory }}" acme_directory: "{{ acme.directory }}"
acme.version: 2 acme_version: 2
account_key: /etc/pki/cert/private/account.key account_key: /etc/pki/cert/private/account.key
csr: "/etc/pki/cert/csr/{{ website_url }}.csr" csr: "/etc/pki/cert/csr/{{ website_url }}.csr"
dest: "/etc/pki/cert/crt/{{ website_url }}.crt" dest: "/etc/pki/cert/crt/{{ website_url }}.crt"