Skip to content

Commit

Permalink
empty list on alt nams by default
Browse files Browse the repository at this point in the history
  • Loading branch information
arykalin committed Nov 18, 2019
1 parent 109e6dd commit e6d2516
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tasks/local-certificate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
privatekey_path: "{{ certificate_privatekey_path if certificate_privatekey_path is defined else None }}"
privatekey_size: "{{ certificate_privatekey_size if certificate_privatekey_size is defined else None }}"
common_name: "{{ certificate_common_name }}"
alt_name: "{{ certificate_alt_name if certificate_alt_name is defined else None }}"
alt_name: "{{ certificate_alt_name | default([]) }}"
before_expired_hours: "{{ certificate_before_expired_hours if certificate_before_expired_hours is defined else 72 }}"
force: "{{ certificate_force if certificate_force is defined else false }}"
register: certout
Expand Down
2 changes: 1 addition & 1 deletion tasks/remote-certificate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
privatekey_path: "{{ certificate_privatekey_path if certificate_privatekey_path is defined else None }}"
privatekey_size: "{{ certificate_privatekey_size if certificate_privatekey_size is defined else None }}"
common_name: "{{ certificate_common_name }}"
alt_name: "{{ certificate_alt_name if certificate_alt_name is defined else None }}"
alt_name: "{{ certificate_alt_name | default([]) }}"
before_expired_hours: "{{ certificate_before_expired_hours if certificate_before_expired_hours is defined else None }}"
force: "{{ certificate_force if certificate_force is defined else false }}"
register: certout
Expand Down

0 comments on commit e6d2516

Please sign in to comment.