Commit aa772414 authored by Dan Thomson's avatar Dan Thomson

[#1] Allow the ability to specify the bind IP address for plone

parent b5bbec21
Pipeline #2617 passed with stage
in 13 minutes and 37 seconds
......@@ -7,5 +7,6 @@ plone_admin_password: abc123
plone_user: plone
plone_group: plone
plone_port: 8080
plone_bind_ip: null
plone_zeo_address: 127.0.0.1:8100
debug: false
......@@ -187,7 +187,7 @@
lineinfile:
path: "{{ plone_install_path }}/{{ plone_instance_name }}/buildout.cfg"
regexp: '^\s*http-address\s*=\s*'
line: "http-address = {{ plone_port }}"
line: "http-address = {% if plone_bind_ip %}{{ plone_bind_ip }}:{{ plone_port }}{% else %}{{ plone_port }}{% endif %}"
register: port_update
become: yes
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment