packer: remove forwarding to console
Console support in AWS EC2 is very basic. We now use vector that works much better than console so we can just drop the forwarding and rely on vector dumping the logs into cloudwatch. Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
parent
15c46544b6
commit
0fb3634c2c
3 changed files with 1 additions and 14 deletions
|
|
@ -1,3 +0,0 @@
|
|||
[Journal]
|
||||
ForwardToConsole=yes
|
||||
MaxLevelConsole=6
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
# Install various software packages.
|
||||
- include_tasks: packages.yml
|
||||
|
||||
# Set systemd/journald overrides
|
||||
# Set systemd overrides
|
||||
- include_tasks: systemd.yml
|
||||
|
||||
# Configure monitoring.
|
||||
|
|
|
|||
|
|
@ -9,13 +9,3 @@
|
|||
copy:
|
||||
src: osbuild-composer-override.conf
|
||||
dest: /etc/systemd/system/osbuild-composer.service.d/override.conf
|
||||
|
||||
- name: Create journald override directory
|
||||
file:
|
||||
path: /etc/systemd/journald.conf.d
|
||||
state: directory
|
||||
|
||||
- name: Add journald override to forward messages to the console
|
||||
copy:
|
||||
src: forward-to-console.conf
|
||||
dest: /etc/systemd/journald.conf.d/forward-to-console.conf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue