Skip to content

Add extra exercise to include host OS logging#58

Open
oneswig wants to merge 1 commit into
masterfrom
host-logging
Open

Add extra exercise to include host OS logging#58
oneswig wants to merge 1 commit into
masterfrom
host-logging

Conversation

@oneswig

@oneswig oneswig commented Sep 8, 2020

Copy link
Copy Markdown
Member

No description provided.

become: yes

tasks:
- name: Check rsyslog is started and enabled

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a task to install the package?

line: '*.* @{{ ansible_default_ipv4.address }}:5140'
register: rsyslog_config

- name: Restart rsyslog

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would be better done as a handler that the previous task would notify.

name: rsyslog
when: rsyslog_config.changed

...

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We generally don't use end markers in Kayobe code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants