Skip to content

Commit f5d33d9

Browse files
author
Jose
committed
Install gems notify handler
1 parent 40c170d commit f5d33d9

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a changelog](https://github.com/olivierlacan/keep-a-changelog).
44

55
## [Unreleased](https://github.com/idealista/fluentd-role/tree/develop)
6+
## Added
7+
- *Ability of providing service template via playbook* @jnogol
8+
## Changed
9+
- *Update default version to 1.2.5* @jnogol
10+
- *Use SIGTERM to stop Fluentd service* @jnogol
611

712
## [1.1.2](https://github.com/idealista/fluentd-role/tree/1.1.2)
813
## [Full Changelog](https://github.com/idealista/fluentd-role/compare/1.1.1...1.1.2)

tasks/install.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,25 @@
1010
name: "{{ fluentd_user }}"
1111
group: "{{ fluentd_group }}"
1212

13-
14-
- name: FLUENTD | install required libs
13+
- name: FLUENTD | Install required libs
1514
apt:
1615
name: "{{ item }}"
1716
update_cache: yes
1817
with_items: "{{ fluentd_required_libs }}"
1918

20-
- name: FLUENTD | install fluentd gem
19+
- name: FLUENTD | Install fluentd gem
2120
gem:
2221
name: fluentd
2322
state: present
2423
version: "{{ fluentd_version }}"
2524
user_install: no
26-
changed_when: false
25+
notify: restart fluentd
2726

28-
- name: FLUENTD | install fluentd plugin gems
27+
- name: FLUENTD | Install fluentd plugin gems
2928
gem:
3029
name: "{{ item }}"
3130
state: present
3231
user_install: no
3332
with_items:
3433
- "{{ fluentd_plugins }}"
35-
changed_when: false
34+
notify: restart fluentd

0 commit comments

Comments
 (0)