-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,11 +9,14 @@ | |
|
||
- name: ACME | update acme certificates for {{ acme_domain_name }} | ||
ansible.builtin.command: /usr/bin/certbot certonly --standalone --non-interactive --agree-tos --email [email protected] --server https://acme.sectigo.com/v2/InCommonRSAOV --eab-kid {{ vault_acme_eab_kid }} --eab-hmac-key {{ vault_acme_eab_hmac_key }} --domain {{ acme_domain_name }}.princeton.edu --cert-name {{ acme_domain_name }} | ||
tags: add_domain | ||
|
||
- name: ACME | update acme certificates for {{ acme_domain_name }} multi domain | ||
ansible.builtin.command: /usr/bin/certbot certonly --standalone --non-interactive --agree-tos --email [email protected] --server https://acme.sectigo.com/v2/InCommonRSAOV --eab-kid {{ vault_acme_eab_kid }} --eab-hmac-key {{ vault_acme_eab_hmac_key }} --domain {{ acme_domain_name }}.princeton.edu --domain {{ acme_add_san_name }}.princeton.edu --cert-name {{ acme_domain_name }} | ||
tags: add_san | ||
|
||
- name: ACME | revoke acme certificates for {{ acme_domain_name }} | ||
ansible.builtin.command: /usr/bin/certbot revoke --standalone --non-interactive --agree-tos --email [email protected] --server https://acme.sectigo.com/v2/InCommonRSAOV --eab-kid {{ vault_acme_eab_kid }} --eab-hmac-key {{ vault_acme_eab_hmac_key }} --domain {{ acme_domain_name }}.princeton.edu --cert-path /etc/letsencrypt/live/{{ acme_domain_name }}/cert.pem | ||
become_user: root | ||
become: true | ||
tags: revoke |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
--- | ||
# vars file for roles/acme | ||
acme_add_san_name: [] | ||
acme_domain_name: [] | ||
acme_add_san_name: | ||
- sandbox-fkayiwa.lib | ||
acme_domain_name: | ||
- sandbox-fkayiwa1.lib |