From 317fd158097cd8bc6a0c7292f9076dfaeb3a0d7e Mon Sep 17 00:00:00 2001 From: Andrea V <1577639+karimodm@users.noreply.github.com> Date: Mon, 4 Dec 2023 13:35:10 +0100 Subject: [PATCH] Remove builtin --- deploy/ansible/roles/iota-core-node/handlers/main.yml | 2 +- deploy/ansible/roles/iota-core-node/tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/ansible/roles/iota-core-node/handlers/main.yml b/deploy/ansible/roles/iota-core-node/handlers/main.yml index 5f7c03518..931640f71 100644 --- a/deploy/ansible/roles/iota-core-node/handlers/main.yml +++ b/deploy/ansible/roles/iota-core-node/handlers/main.yml @@ -1,4 +1,4 @@ - name: restart rsyslog - ansible.builtin.service: + service: name: rsyslog state: restarted \ No newline at end of file diff --git a/deploy/ansible/roles/iota-core-node/tasks/main.yml b/deploy/ansible/roles/iota-core-node/tasks/main.yml index 30dc9d4c3..5c6e7a2d9 100644 --- a/deploy/ansible/roles/iota-core-node/tasks/main.yml +++ b/deploy/ansible/roles/iota-core-node/tasks/main.yml @@ -4,7 +4,7 @@ poll: 5 - name: Set log rotation for a maximum size of 5GB - ansible.builtin.lineinfile: + lineinfile: path: /etc/logrotate.d/rsyslog regexp: '^\{\n\s*rotate' insertbefore: '^\{\n\s*rotate'