forked from FF-RGB/ansible
rename certmgr -> acertmgr
This commit is contained in:
parent
5ee1e577be
commit
9cbc88e4ec
@ -5,3 +5,6 @@
|
|||||||
|
|
||||||
- name: Reload systemd
|
- name: Reload systemd
|
||||||
command: systemctl daemon-reload
|
command: systemctl daemon-reload
|
||||||
|
|
||||||
|
- name: Run acertmgr
|
||||||
|
command: /opt/acertmgr/acertmgr.py
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- { role: certmgr }
|
- { role: acertmgr }
|
||||||
- { role: nginx, nginx_ssl: True }
|
- { role: nginx, nginx_ssl: True }
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
|
|
||||||
- name: Configure certificate manager for confluence
|
- name: Configure certificate manager for confluence
|
||||||
template: src=certs.j2 dest=/etc/acme/domains.d/{{ confluence_domain }}.conf
|
template: src=certs.j2 dest=/etc/acme/domains.d/{{ confluence_domain }}.conf
|
||||||
|
notify: Run acertmgr
|
||||||
|
|
||||||
- name: Configure vhost
|
- name: Configure vhost
|
||||||
template: src=vhost.j2 dest=/etc/nginx/sites-available/confluence
|
template: src=vhost.j2 dest=/etc/nginx/sites-available/confluence
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
- name: Restart nginx
|
- name: Restart nginx
|
||||||
service: name=nginx state=restarted
|
service: name=nginx state=restarted
|
||||||
|
|
||||||
- name: Run certmgr
|
- name: Run acertmgr
|
||||||
command: /opt/acertmgr/acertmgr.py
|
command: /opt/acertmgr/acertmgr.py
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- { role: certmgr }
|
- { role: acertmgr }
|
||||||
- { role: nginx, nginx_ssl: True }
|
- { role: nginx, nginx_ssl: True }
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
- name: Configure certificate manager
|
- name: Configure certificate manager
|
||||||
template: src=certs.j2 dest=/etc/acme/domains.d/{{ ansible_fqdn }}.conf
|
template: src=certs.j2 dest=/etc/acme/domains.d/{{ ansible_fqdn }}.conf
|
||||||
notify: Run certmgr
|
notify: Run acertmgr
|
||||||
|
|
||||||
- name: Configure vhosts
|
- name: Configure vhosts
|
||||||
template: src=vhost.j2 dest=/etc/nginx/sites-available/www
|
template: src=vhost.j2 dest=/etc/nginx/sites-available/www
|
||||||
|
Loading…
Reference in New Issue
Block a user