From 322c53df835d24feda59fa287e4062c6e9f69480 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sat, 17 Dec 2022 19:02:09 +0100 Subject: refactor: use notify keywords with list only --- roles/nfsclient/tasks/main.yml | 3 ++- roles/relayd/tasks/main.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/roles/nfsclient/tasks/main.yml b/roles/nfsclient/tasks/main.yml index e7117dd..beb4a4d 100644 --- a/roles/nfsclient/tasks/main.yml +++ b/roles/nfsclient/tasks/main.yml @@ -28,4 +28,5 @@ ansible.builtin.lineinfile: path: "{{ nfsclient_fstab_path }}" line: "{{ nfsclient_server_ip }}:{{ nfsclient_server_dir }}/{{ inventory_hostname }} {{ nfsclient_dir }} nfs rw,nodev,nosuid 0 0" - notify: reload fstab + notify: + - reload fstab diff --git a/roles/relayd/tasks/main.yml b/roles/relayd/tasks/main.yml index d848da0..e8e18a3 100644 --- a/roles/relayd/tasks/main.yml +++ b/roles/relayd/tasks/main.yml @@ -7,7 +7,8 @@ owner: 0 group: 0 mode: "0640" - notify: lint relayd configuration + notify: + - lint relayd configuration - name: enable and restart relayd ansible.builtin.service: -- cgit v1.2.3