Commit af1746f2 authored by root's avatar root
Browse files

made the vars non conflicting

parent f0e39967
......@@ -7,12 +7,12 @@ host. This setup is based on the official Debian install
Variables:
**password_secret** Secret used for password encryption and salting.
**graylog_password_secret** Secret used for password encryption and salting.
**root_password** Password for the graylog root/admin user. This is
**graylog_root_password** Password for the graylog root/admin user. This is
written to the graylog configuration file as a SHA256 hash.
**http_publish_uri** HTTP URL to be advertised to other graylog nodes
**graylog_http_publish_uri** HTTP URL to be advertised to other graylog nodes
and web UI clients. The default value is in defaults/main.yml
Variables are named after their respective entries in the graylog
......@@ -25,8 +25,8 @@ https://docs.graylog.org/en/3.2/pages/configuration/server.conf.html#web-rest-ap
roles:
- role: sol1.graylog
vars:
password_secret: "somethingsecret1234"
root_password: "someothersecret"
graylog_password_secret: "somethingsecret1234"
graylog_root_password: "someothersecret"
## Author
......
# Managed by ansible
is_master = true
node_id_file = /etc/graylog/server/node-id
password_secret = {{ password_secret }}
root_password_sha2 = {{ root_password | hash('sha256') }}
password_secret = {{ graylog_password_secret }}
root_password_sha2 = {{ graylog_root_password | hash('sha256') }}
bin_dir = /usr/share/graylog-server/bin
data_dir = /var/lib/graylog-server
plugin_dir = /usr/share/graylog-server/plugin
......@@ -34,4 +34,4 @@ mongodb_uri = mongodb://localhost/graylog
mongodb_max_connections = 1000
mongodb_threads_allowed_to_block_multiplier = 5
proxied_requests_thread_pool_size = 32
http_publish_uri = {{ http_publish_uri }}
http_publish_uri = {{ graylog_http_publish_uri }}
......@@ -4,6 +4,6 @@
roles:
- role: sol1.graylog
vars:
password_secret: "somesecret1234"
root_password: "anothersecret5678"
graylog_password_secret: "somesecret1234"
graylog_root_password: "anothersecret5678"
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