nginx.yml 315 B

123456789101112
  1. ---
  2. # tasks file for ffdo.mapserver-nginx
  3. - name: Ensure nginx is installed
  4. apt: name=nginx state=present update_cache=yes cache_valid_time=3600
  5. - name: Install nginx configs
  6. template:
  7. src: meshviewer.conf.j2
  8. dest: /etc/nginx/site-include/{{ ansible_fqdn }}/meshviewer.conf
  9. notify:
  10. - Reload nginx