Skip to content

Commit

Permalink
Merge pull request #241 from pavlozt/master
Browse files Browse the repository at this point in the history
Fix ports declaration. Allow bind to localhost. Style fix.
  • Loading branch information
geerlingguy committed Mar 7, 2024
2 parents 715c719 + b20ea04 commit 25a7331
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ apache_mods_disabled: []
# Set initial apache state. Recommended values: `started` or `stopped`
apache_state: started

# Set initial apache service status. Recommended values: `yes` or `no`
apache_enabled: yes
# Set initial apache service status. Recommended values: `true` or `false`
apache_enabled: true

# Set apache state when configuration changes are made. Recommended values:
# `restarted` or `reloaded`
Expand Down
2 changes: 1 addition & 1 deletion vars/apache-24.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ apache_default_vhost_filename: 000-default.conf
apache_ports_configuration_items:
- {
regexp: "^Listen ",
line: "Listen {{ apache_listen_port }}"
line: "Listen {{ (apache_listen_ip == '*') | ternary('', apache_listen_ip + ':') }}{{ apache_listen_port }}"
}

0 comments on commit 25a7331

Please sign in to comment.