We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f48721c commit 6506dc2Copy full SHA for 6506dc2
roles/seqware-master-infrastructure/tasks/main.yml
@@ -298,11 +298,13 @@
298
service: name=rpcbind state=restarted
299
when: nfs_setup.changed
300
ignore_errors: yes
301
+ when: ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'trusty'
302
303
- name: NFS Restart
- service: name=portbind state=restarted
304
+ service: name=portmap state=restarted
305
306
307
+ when: ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'precise'
308
309
310
service: name=nfs-kernel-server state=restarted
0 commit comments