diff --git a/roles/nfs-client/handlers/main.yml b/roles/nfs-client/handlers/main.yml index d03ebd197c4a7e0160cf74834b78a625b71aefda..76b3a6a028b2f97a38890188dbd0300056fd5d91 100644 --- a/roles/nfs-client/handlers/main.yml +++ b/roles/nfs-client/handlers/main.yml @@ -6,4 +6,4 @@ - name: restart idmap service: name=rpcidmapd state=restarted sudo: true - when: ansible_os_family == "RedHat" + when: ansible_os_family == "RedHat" and ansible_distribution_major_version < 7