diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2022-12-17 19:02:09 +0100 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2022-12-17 19:02:09 +0100 |
commit | 322c53df835d24feda59fa287e4062c6e9f69480 (patch) | |
tree | 8952cef6444591fae984a3b32bf887b434bab5d8 /roles | |
parent | 0ff87214b5d6198cc0f4dd7a0210b097330a313f (diff) | |
download | rules-322c53df835d24feda59fa287e4062c6e9f69480.tar.gz |
refactor: use notify keywords with list only
Diffstat (limited to 'roles')
-rw-r--r-- | roles/nfsclient/tasks/main.yml | 3 | ||||
-rw-r--r-- | 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: |