Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- - name: Allowing non-local IP binding
- sysctl: name="net.ipv4.ip_nonlocal_bind" value=1 sysctl_set=yes
- when: set_sysctl | bool
- - name: Ensuring config directories exist
- file:
- path: "{{ node_config_directory }}/{{ item }}"
- state: "directory"
- recurse: yes
- with_items:
- - "nginx"
- # - "nginx/site-enabled"
- - name: Copying over portal vhost
- template:
- src: "{{ item }}.j2"
- dest: "{{ node_config_directory }}/nginx/site-enabled/{{ item }}.cfg"
- with_items:
- - "portal"
Advertisement
Add Comment
Please, Sign In to add comment