2
0
mirror of https://github.com/schnidrig/openhab-ansible synced 2026-01-12 00:48:46 +01:00
This commit is contained in:
Christian Schnidrig
2018-11-25 20:41:12 +01:00
parent 5569be177e
commit 9231e75be7
8 changed files with 41 additions and 42 deletions

View File

@@ -5,23 +5,23 @@
url: https://dl.eff.org/certbot-auto
dest: /root/certbot-auto
mode: 0540
tags:
tags:
- letsencrypt
- name: get certificate
#shell: '/root/certbot-auto -n run --test-cert --nginx --agree-tos --email {{letsencrypt_email}} --cert-path /etc/nginx/ssl/cert.pem --key-path /etc/nginx/ssl/cert.key --fullchain-path /etc/nginx/ssl/chain.pem -d {{fqdn}}'
shell: '/root/certbot-auto -n run --nginx --agree-tos --email {{letsencrypt_email}} -d {{fqdn}}'
tags:
tags:
- letsencrypt
- name: cron job
cron:
cron:
name: "get new certificate"
minute: "0"
hour: "5"
day: "11"
job: '/root/certbot-auto -n certonly --nginx --agree-tos --email {{letsencrypt_email}} -d {{fqdn}}'
tags:
tags:
- letsencrypt
- letsencrypt_cron

View File

@@ -13,6 +13,8 @@
- sysstat
- nginx
- python-passlib
- jython
- jython-doc
tags:
- packages
- openhab2

View File

@@ -12,7 +12,8 @@
- name: install openhab2 repo
apt_repository:
repo: 'deb http://dl.bintray.com/openhab/apt-repo2 testing main'
repo: 'deb https://dl.bintray.com/openhab/apt-repo2 stable main'
#repo: 'deb http://openhab.jfrog.io/openhab/openhab-linuxpkg unstable main'
state: present
update_cache: yes
filename: openhab2