* Fixing alpha certbot host target
This commit is contained in:
parent
4b6b32e7fd
commit
7bb82cce52
14
playbooks/alpha/certbot.yml
Normal file
14
playbooks/alpha/certbot.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
- hosts: alpha
|
||||||
|
remote_user: ubuntu
|
||||||
|
become: yes
|
||||||
|
become_method: sudo
|
||||||
|
tasks:
|
||||||
|
- name: Install New Certificate for all sites
|
||||||
|
command: >
|
||||||
|
certbot -n --nginx -m "{{CERT_EMAIL}}" --agree-tos
|
||||||
|
--domains "{{item}}"
|
||||||
|
loop:
|
||||||
|
- search.project-athens.xyz
|
||||||
|
- clips.shockrah.xyz
|
||||||
|
|
@ -7,7 +7,6 @@
|
|||||||
- hosts: beta
|
- hosts: beta
|
||||||
remote_user: ubuntu
|
remote_user: ubuntu
|
||||||
become: yes
|
become: yes
|
||||||
become_method: sudo
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Install New Certificate for all sites
|
- name: Install New Certificate for all sites
|
||||||
command: >
|
command: >
|
||||||
|
Loading…
Reference in New Issue
Block a user