Skip to content
Snippets Groups Projects
Commit 3a2a2650 authored by Jupiter Hu's avatar Jupiter Hu
Browse files

Merge pull request #42 from shahaan/mcc-nectar

Some minor chnages to the client
parents 25232661 72068c18
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