Skip to content

Commit

Permalink
Refactor requirements makefile target
Browse files Browse the repository at this point in the history
  • Loading branch information
teddyphreak committed Oct 31, 2023
1 parent bdbc368 commit 018dcbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ requirements: install
--role-file ${ROLE_FILE}
@poetry run ansible-galaxy collection install \
--force-with-deps .
@find ${ROLE_DIR} -wholename "*meta/main.yml" | xargs sed -ie 's/nephelaiio\.plugins/nephelaiio.mongodb.plugins/g'
@find ${ROLE_DIR} -wholename "*meta/main.yml" | xargs sed -ie 's/nephelaiio\.mongodb_repo/nephelaiio.mongodb.repo/g'
@grep -Rl "nephelaiio\.plugins" ${ROLE_DIR} | xargs sed -rL -ie 's/nephelaiio\.plugins/nephelaiio.mongodb.plugins/g'
@grep -Rl "nephelaiio\.mongodb_repo" ${ROLE_DIR} | xargs sed -rL -ie 's/nephelaiio\.mongodb_repo/nephelaiio.mongodb.repo/g'
@find ${ROLE_DIR} -type d -name filter_plugins | xargs -r cp -a -t ${PLUGIN_DIR}/
@find ${ROLE_DIR} -type d -name test_plugins | xargs -r cp -a -t ${PLUGIN_DIR}/
@rm -rf ${ROLE_DIR}/plugins
Expand Down

0 comments on commit 018dcbb

Please sign in to comment.