Skip to content
Snippets Groups Projects
Commit 72068c18 authored by Shahaan Ayyub's avatar Shahaan Ayyub
Browse files

Some minor chnages to the client

parent 25232661
No related branches found
No related tags found
No related merge requests found
---
- name: "Check mount"
shell: mount | grep "{{ item.name }}"
with_items: exportList
register: result
#- name: "Check mount"
# shell: mount | grep {{ item.name }}
# with_items: exportList
# register: result
- name: "Mounting NFS mounts"
mount: "name={{ item.name }} src={{ item.nfsServerIp }}:{{ item.src }} fstype={{ item.fstype }} opts={{ item.opts }} state=mounted"
mount: name={{ item.name }} src={{ hostvars[nfs_server]['ansible_'+item.interface]['ipv4']['address'] }}:{{ item.src }} fstype={{ item.fstype }} opts={{ item.opts }} state=mounted
with_items: exportList
notify: "restart authentication"
notify: "restart idmap"
sudo: true
when: exportList is defined and result | failed
when: exportList is defined
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment