Use integer comparision when dealing with "ansible_distribution_major_version"
[AnsibleRoles.git] / roles / nfs-client / handlers / main.yml
1 ---
2 # nfs-client handlers
3
4 - name: restart "nfs-common"
5   service: >
6     name=nfs-common
7     state=restarted
8   when: "ansible_distribution_major_version|int < 8"