Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Alexander Withers
sdaia
Commits
4ec19b5d
Commit
4ec19b5d
authored
Sep 28, 2017
by
Alexander Withers
Browse files
ansible uses fqdn fact
parent
06d810b0
Changes
3
Hide whitespace changes
Inline
Side-by-side
roles/cif/defaults/main.yml
View file @
4ec19b5d
---
csirtg_provider
:
"
{{
ansible_hostname
}}"
#csirtg_provider: "{{ ansible_hostname }}"
csirtg_provider
:
"
{{
ansible_fqdn
}}"
csirtg_tags
:
'
scanner,ssh'
docker_container_name
:
'
ssh-auth-logger'
...
...
roles/ids/templates/bro.service.j2
deleted
100644 → 0
View file @
06d810b0
[Unit]
Description=zyre-gateway service
[Service]
Type=simple
User={{ app_user }}
Group={{ app_user }}
PIDFile=/run/zyre-gateway.pid
ExecStart=/usr/local/gateway/gateway {{ ansible_hostname }}
KillMode=process
Restart=on-failure
KillSignal=SIGINT
TimeoutStopSec=5
PrivateTmp=true
WorkingDirectory=/usr/local/gateway
EnvironmentFile=-/etc/zyre_gateway.env
[Install]
WantedBy=multi-user.target
roles/transport/templates/zyre-gateway.service.j2
View file @
4ec19b5d
...
...
@@ -6,7 +6,8 @@ Type=simple
User={{ app_user }}
Group={{ app_user }}
PIDFile=/run/zyre-gateway.pid
ExecStart=/usr/local/gateway/gateway {{ ansible_hostname }}
#ExecStart=/usr/local/gateway/gateway {{ ansible_hostname }}
ExecStart=/usr/local/gateway/gateway {{ ansible_fqdn }}
KillMode=process
Restart=on-failure
KillSignal=SIGINT
...
...
Write
Preview
Supports
Markdown
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