sborenst / ansible_aws_deployer

20 stars 20 forks source link

nfs provisioning needs improvement #5

Open thoraxe opened 8 years ago

thoraxe commented 8 years ago

If the playbook is re-run the NFS task will fail. This makes it hard to handle errors during the process without completely starting over or specifying skip-tags.

restarting nfs services is likely not necessary. you can just re-export the filesystems using exportfs -r

johannes-cabal commented 7 years ago

Should be resolvable using the mount module in Ansible.

Make exportfs -r or service restart a handler and only execute if a change has to occur. That way we can make the mount idempotent.