diff --git a/inventories/production/host_vars/misc.crypto-libertarian.com.yml b/inventories/production/host_vars/misc.crypto-libertarian.com.yml index 799b0f6..f3c1d9f 100644 --- a/inventories/production/host_vars/misc.crypto-libertarian.com.yml +++ b/inventories/production/host_vars/misc.crypto-libertarian.com.yml @@ -21,6 +21,13 @@ common__nginx__upstreams: servers: ['unix:/opt/report_ip/tmp/sockets/puma.sock'] common__nginx__sites: + - type: listing + domain: 'pub.crypto-libertarian.com' + cert: '/etc/letsencrypt/live/misc.crypto-libertarian.com/fullchain.pem' + key: '/etc/letsencrypt/live/misc.crypto-libertarian.com/privkey.pem' + ssl_conf: '/etc/letsencrypt/options-ssl-nginx.conf' + root: '/var/www/pub' + - type: origin domain: 'report-ip.crypto-libertarian.com' cert: '/etc/letsencrypt/live/misc.crypto-libertarian.com/fullchain.pem' diff --git a/playbooks/deploy/misc.yml b/playbooks/deploy/misc.yml index 6b22cc3..0e0c2ba 100644 --- a/playbooks/deploy/misc.yml +++ b/playbooks/deploy/misc.yml @@ -13,6 +13,14 @@ apt: name: redis-server + - name: Create directory for publications + file: + state: directory + path: /var/www/pub + owner: root + group: root + mode: 'u=rwx,g=rx,o=rx' + - name: Create system group group: name: '{{ item }}' diff --git a/requirements.yml b/requirements.yml index 44e9071..a50cfd4 100644 --- a/requirements.yml +++ b/requirements.yml @@ -1,5 +1,5 @@ --- - src: kotovalexarian.common - version: v0.0.32 + version: v0.0.33 - src: rvm.ruby version: v2.1.2