Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sol1 Ansible Roles
graylog
Commits
86b18340
Commit
86b18340
authored
May 15, 2020
by
Oliver Lowe
Browse files
Simpler notify syntax
No need for list when there's just 1 handler
parent
57e48907
Changes
1
Hide whitespace changes
Inline
Side-by-side
tasks/main.yml
View file @
86b18340
...
...
@@ -36,28 +36,24 @@
-
name
:
install elasticsearch
package
:
name
:
elasticsearch-oss
notify
:
-
restart elasticsearch
notify
:
restart elasticsearch
-
name
:
configure elasticsearch
copy
:
src
:
elasticsearch.yml
dest
:
/etc/elasticsearch/elasticsearch.yml
notify
:
-
restart elasticsearch
notify
:
restart elasticsearch
-
name
:
install nginx
package
:
name
:
nginx
notify
:
-
restart nginx
notify
:
restart nginx
-
name
:
configure nginx
copy
:
src
:
nginx.conf
dest
:
/etc/nginx/sites-available/default
notify
:
-
restart nginx
notify
:
restart nginx
-
name
:
graylog apt repo
apt
:
...
...
@@ -67,8 +63,7 @@
apt
:
update_cache
:
True
name
:
graylog-server
notify
:
-
restart graylog
notify
:
restart graylog
-
name
:
configure graylog
template
:
...
...
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