Guest User

Untitled

a guest
Mar 8th, 2016
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. ---
  2. - name: Allowing non-local IP binding
  3. sysctl: name="net.ipv4.ip_nonlocal_bind" value=1 sysctl_set=yes
  4. when: set_sysctl | bool
  5.  
  6. - name: Ensuring config directories exist
  7. file:
  8. path: "{{ node_config_directory }}/{{ item }}"
  9. state: "directory"
  10. recurse: yes
  11. with_items:
  12. - "nginx"
  13. # - "nginx/site-enabled"
  14.  
  15. - name: Copying over portal vhost
  16. template:
  17. src: "{{ item }}.j2"
  18. dest: "{{ node_config_directory }}/nginx/site-enabled/{{ item }}.cfg"
  19. with_items:
  20. - "portal"
Advertisement
Add Comment
Please, Sign In to add comment