Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ansible
roles
plone
Commits
aa772414
Commit
aa772414
authored
Oct 05, 2018
by
Dan Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[
#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
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
defaults/main.yml
defaults/main.yml
+1
-0
tasks/main.yml
tasks/main.yml
+1
-1
No files found.
defaults/main.yml
View file @
aa772414
...
...
@@ -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
tasks/main.yml
View file @
aa772414
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment