To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 493f908a authored by Bengt Giger's avatar Bengt Giger
Browse files

Fixed linting for rsyslog_forwarder

parent a2664f94
Pipeline #90630 passed with stage
in 7 minutes and 19 seconds
......@@ -6,7 +6,7 @@ driver:
lint: |
set -e
yamllint .
ansible-lint tasks
ansible-lint tasks -c molecule/default/ansible-lint.yml
platforms:
- name: EL7
# systemd enabled container setup
......
......@@ -18,6 +18,7 @@
file:
name: /etc/rsyslog.d
state: directory
mode: "0755"
- name: Ensure rsyslogd is running and enabled
service:
......@@ -29,13 +30,15 @@
template:
src: rsyslog_local.conf.j2
dest: /etc/rsyslog.d/rsyslog_local.conf
when: rsyslog_local_targets_active == true
mode: "0644"
when: rsyslog_local_targets_active
notify: restart rsyslog
- name: Remote logging
template:
src: rsyslog_remote.conf.j2
dest: "/etc/rsyslog.d/{{ target.name }}.conf"
mode: "0644"
loop: "{{ rsyslog_remote_targets }}"
loop_control:
loop_var: target
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment