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.

20 lines
470 B

  1. ---
  2. - name: nginx-proxy | Write static pod
  3. template:
  4. src: manifests/nginx-proxy.manifest.j2
  5. dest: "{{kube_manifest_dir}}/nginx-proxy.yml"
  6. - name: nginx-proxy | Make nginx directory
  7. file:
  8. path: "{{ nginx_config_dir }}"
  9. state: directory
  10. mode: 0700
  11. owner: root
  12. - name: nginx-proxy | Write nginx-proxy configuration
  13. template:
  14. src: nginx.conf.j2
  15. dest: "{{ nginx_config_dir }}/nginx.conf"
  16. owner: root
  17. mode: 0755
  18. backup: yes