Added doc_fragments hashivault.py to link.sh
-DEST=$(echo ${VIRTUAL_ENV}/lib/python*/site-packages/ansible/)
+#! /bin/sh
+DEST=$(echo "${VIRTUAL_ENV}"/lib/python*/site-packages/ansible/)
-rm -rf $DEST/modules/hashivault
-rm -f $DEST/module_utils/hashivault.py
-rm -f $DEST/plugins/lookup/hashivault.py
-rm -f $DEST/plugins/action/hashivault_read_to_file.py
-rm -f $DEST/plugins/action/hashivault_write_from_file.py
-
-ln -s $PWD/ansible/modules/hashivault $DEST/modules/hashivault
-ln $PWD/ansible/module_utils/hashivault.py $DEST/module_utils/hashivault.py
-ln $PWD/ansible/plugins/lookup/hashivault.py $DEST/plugins/lookup/hashivault.py
-ln $PWD/ansible/plugins/action/hashivault_read_to_file.py $DEST/plugins/action/hashivault_read_to_file.py
-ln $PWD/ansible/plugins/action/hashivault_write_from_file.py $DEST/plugins/action/hashivault_write_from_file.py
+rm -rf "$DEST"/modules/hashivault
+rm -f "$DEST"/module_utils/hashivault.py
+rm -f "$DEST"/plugins/lookup/hashivault.py
+rm -f "$DEST"/plugins/doc_fragments/hashivault.py
+rm -f "$DEST"/plugins/action/hashivault_read_to_file.py
+rm -f "$DEST"/plugins/action/hashivault_write_from_file.py
+ln -s "$PWD"/ansible/modules/hashivault "$DEST"/modules/hashivault
+ln "$PWD"/ansible/module_utils/hashivault.py "$DEST"/module_utils/hashivault.py
+ln "$PWD"/ansible/plugins/lookup/hashivault.py "$DEST"/plugins/lookup/hashivault.py
+ln "$PWD"/ansible/plugins/doc_fragments/hashivault.py "$DEST"/plugins/doc_fragments/hashivault.py
+ln "$PWD"/ansible/plugins/action/hashivault_read_to_file.py "$DEST"/plugins/action/hashivault_read_to_file.py
+ln "$PWD"/ansible/plugins/action/hashivault_write_from_file.py "$DEST"/plugins/action/hashivault_write_from_file.py
