acmetool.yml 536 B

1234567891011121314151617181920
  1. ---
  2. - name: ensure acmetool repository key is installed
  3. apt_key:
  4. id: EDB58DFA
  5. data: "{{ lookup('file', 'acmetool.gpg') }}"
  6. - name: ensure acmetool apt repository is installed
  7. apt_repository: repo='deb http://ppa.launchpad.net/hlandau/rhea/ubuntu xenial main'
  8. - name: ensure acmetool is installed
  9. apt: name=acmetool install_recommends=no
  10. - name: Ensure acmetool cronjob is installed
  11. cron:
  12. name: "Renew Let's Encrypt certificates"
  13. job: /usr/bin/acmetool --batch reconcile
  14. hour: 3
  15. minute: 30
  16. day: 1