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 @@
...
@@ -36,28 +36,24 @@
-
name
:
install elasticsearch
-
name
:
install elasticsearch
package
:
package
:
name
:
elasticsearch-oss
name
:
elasticsearch-oss
notify
:
notify
:
restart elasticsearch
-
restart elasticsearch
-
name
:
configure elasticsearch
-
name
:
configure elasticsearch
copy
:
copy
:
src
:
elasticsearch.yml
src
:
elasticsearch.yml
dest
:
/etc/elasticsearch/elasticsearch.yml
dest
:
/etc/elasticsearch/elasticsearch.yml
notify
:
notify
:
restart elasticsearch
-
restart elasticsearch
-
name
:
install nginx
-
name
:
install nginx
package
:
package
:
name
:
nginx
name
:
nginx
notify
:
notify
:
restart nginx
-
restart nginx
-
name
:
configure nginx
-
name
:
configure nginx
copy
:
copy
:
src
:
nginx.conf
src
:
nginx.conf
dest
:
/etc/nginx/sites-available/default
dest
:
/etc/nginx/sites-available/default
notify
:
notify
:
restart nginx
-
restart nginx
-
name
:
graylog apt repo
-
name
:
graylog apt repo
apt
:
apt
:
...
@@ -67,8 +63,7 @@
...
@@ -67,8 +63,7 @@
apt
:
apt
:
update_cache
:
True
update_cache
:
True
name
:
graylog-server
name
:
graylog-server
notify
:
notify
:
restart graylog
-
restart graylog
-
name
:
configure graylog
-
name
:
configure graylog
template
:
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