sborenst / ansible_aws_deployer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nfs provisioning needs improvement

thoraxe opened this issue · comments

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

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.