Skip to content

Commit

Permalink
fix: Fix config mode
Browse files Browse the repository at this point in the history
  • Loading branch information
RashadAnsari committed Sep 5, 2020
1 parent 30449a6 commit 61998db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion meta/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ galaxy_info:
role_name: fluentd
author: Rashad Ansari
description: Set up Fluentd in Ubuntu systems
company: $lie
company: 4lie
min_ansible_version: 2.6
platforms:
- name: Ubuntu
Expand Down
2 changes: 2 additions & 0 deletions tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,14 @@
template:
src: td-agent.conf.j2
dest: /etc/td-agent/td-agent.conf
mode: 0644
notify: restart td-agent

- name: Create fluentd custom configuration files
template:
src: "{{ item }}.j2"
dest: "/etc/td-agent/conf.d/{{ item.split('/')[-1] }}"
mode: 0644
with_items: "{{ fluentd_custom_conf }}"
notify: restart td-agent

Expand Down

0 comments on commit 61998db

Please sign in to comment.