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'