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!
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

29 行
1.1KB

  1. base: freebsd-latest
  2. steps:
  3. - run:
  4. - ASSUME_ALWAYS_YES=yes IGNORE_OSVERSION=yes pkg install python3 nginx py37-cookiecutter
  5. - copy:
  6. - [ ../files/cookiecutter.json,
  7. /root/cookiecutter.json ]
  8. - [ files/nginx.conf,
  9. /root/nginx.conf ]
  10. - run:
  11. - mkdir -p /root/nginx_template/\{\{cookiecutter.directory_name\}\}
  12. - mv -v /root/nginx.conf /root/nginx_template/\{\{cookiecutter.directory_name\}\}/nginx.conf
  13. - mv -v /root/cookiecutter.json /root/nginx_template/cookiecutter.json
  14. - run:
  15. - cookiecutter --no-input /root/nginx_template
  16. - mv -v ./nginx_conf/nginx.conf /usr/local/etc/nginx/nginx.conf
  17. - ASSUME_ALWAYS_YES=yes IGNORE_OSVERSION=yes pkg remove python3 py37-cookiecutter
  18. - ASSUME_ALWAYS_YES=yes IGNORE_OSVERSION=yes pkg autoremove
  19. - rm -rvf /root/nginx_template
  20. - rm -rvf ./nginx_conf
  21. - mkdir -p /usr/local/etc/letsencrypt
  22. - mkdir -p /certbot/webroot
  23. - run:
  24. - sysrc sshd_enable=NO
  25. - sysrc sendmail_enable=NONE
  26. - sysrc clear_tmp_enable=YES
  27. - sysrc syslogd_flags="-ss"