From 5ea3343d45faaab4a090bed12ce943174c30368e Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Sat, 14 Mar 2020 11:10:11 +0100 Subject: [PATCH] fix: renamve notify service --- tasks/nfs_share.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/nfs_share.yml b/tasks/nfs_share.yml index f7b518d..12a1e58 100644 --- a/tasks/nfs_share.yml +++ b/tasks/nfs_share.yml @@ -4,21 +4,21 @@ pkg: nfs-kernel-server state: present when: ansible_distribution == 'Debian' - notify: restart nfs + notify: restart nfs-server - name: install nfs pacman: pkg: nfs-utils state: present when: ansible_distribution != 'Debian' - notify: restart nfs + notify: restart nfs-server - name: Lines in exports lineinfile: dest: /etc/exports line: "{{ item.name }} 192.168.1.1/24({{ item.options }})" with_items: "{{ nfs_shares }}" - notify: restart nfs + notify: restart nfs-server - name: create mount points file: @@ -35,4 +35,4 @@ passno: 0 state: mounted with_items: "{{ nfs_shares }}" - notify: restart nfs + notify: restart nfs-server