Switch java-deptools to https

This commit is contained in:
Mikolaj Izdebski 2018-03-06 04:21:53 +00:00
parent b58dfc3086
commit 6407f2e55f
3 changed files with 27 additions and 2 deletions

View file

@ -7,6 +7,7 @@
package: name={{ item }} state=present
with_items:
- httpd
- mod_ssl
- postgresql-server
- postgresql
- java-deptools
@ -65,6 +66,13 @@
tags:
- service
- name: Obtain letsencrypt certificate
shell: certbot certonly -n --standalone --agree-tos -m sysadmin-koschei-members@fedoraproject.org -d {{ inventory_hostname }}
args:
creates: /etc/letsencrypt/live/{{ inventory_hostname }}/fullchain.pem
tags:
- config
- name: Install proxy config
copy: src=proxy.conf dest=/etc/httpd/conf.d/java-deptools-proxy.conf