IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

29 lines
909B

  1. base: freebsd-latest
  2. steps:
  3. - run:
  4. - ASSUME_ALWAYS_YES=yes IGNORE_OSVERSION=yes pkg install py37-certbot python3
  5. - mkdir -p /certbot/data
  6. - mkdir -p /certbot/webroot
  7. - mkdir -p /certbot/scripts
  8. - chown -R nobody:nobody /certbot
  9. - chmod 0750 /certbot
  10. - copy:
  11. - [ files/certbot.py,
  12. /certbot/scripts/certbot.py ]
  13. - [ files/crontab_nobody,
  14. /root/crontab_nobody ]
  15. - run:
  16. - crontab -u nobody /root/crontab_nobody
  17. - rm -v /root/crontab_nobody
  18. - mkdir -p /usr/local/etc/letsencrypt
  19. - mkdir -p /var/log/letsencrypt
  20. - mkdir -p /var/db/letsencrypt
  21. - chown nobody:nobody /var/log/letsencrypt
  22. - chown nobody:nobody /var/db/letsencrypt
  23. - run:
  24. - sysrc sshd_enable=NO
  25. - sysrc sendmail_enable=NONE
  26. - sysrc clear_tmp_enable=YES
  27. - sysrc syslogd_flags="-ss"