Listen on 127.0.0.1 by default

ansible_default_ipv4.address is sort of unreliable or sometimes
the ip address is actually not useful since floating IP addresses
(unknown to the host) are used.

Default to 127.0.0.1 instead which is a secure default.

Change-Id: Idd232b0ddc0ee8533715012e89918b4f76e59901
This commit is contained in:
David Moreau Simard 2018-06-19 10:17:36 -04:00
parent ea66e8132b
commit ce12da282e
No known key found for this signature in database
GPG Key ID: 33A07694CBB71ECC
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ ara:
config:
database: "sqlite:////var/lib/ara/ansible.sqlite"
# Host to listen on for embedded server, apache or nginx
host: "{{ ansible_default_ipv4.address }}"
host: 127.0.0.1
# Port to listen on for embedded server or apache
port: 9191
# Root (or prefix) for the web application location