You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
423 B

  1. ---
  2. - name: Add site config file
  3. template:
  4. src: tildes.conf.jinja2
  5. dest: /etc/nginx/sites-available/tildes.conf
  6. owner: root
  7. group: root
  8. mode: 0644
  9. notify:
  10. - Reload nginx
  11. - name: Enable site in nginx
  12. file:
  13. path: /etc/nginx/sites-enabled/tildes.conf
  14. src: /etc/nginx/sites-available/tildes.conf
  15. state: link
  16. owner: root
  17. group: root
  18. mode: 0644
  19. notify:
  20. - Reload nginx