ansible_aws_deployer icon indicating copy to clipboard operation
ansible_aws_deployer copied to clipboard

nfs provisioning needs improvement

Open thoraxe opened this issue 8 years ago • 1 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

thoraxe avatar Oct 27 '16 15:10 thoraxe

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.

johannes-cabal avatar Dec 05 '16 19:12 johannes-cabal