From ff74c6fbdfa56646e5fc9c4525175d075e23af95 Mon Sep 17 00:00:00 2001 From: Anwesha Das Date: Mon, 30 Jun 2025 21:42:32 +0200 Subject: [PATCH 1/2] Uses cfg isolation-mode Without using cfg isolation in normal Linux system the following error occurs. ``` Error: Collections found in /usr/share/ansible/collections Hint: Run `sudo rm -rf /usr/share/ansible/collections` to remove them. Warning: The development environment is not isolated, please resolve the above errors. ``` --- docs/user-guide/building-collection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user-guide/building-collection.md b/docs/user-guide/building-collection.md index b0deedd2..cd23f3b9 100644 --- a/docs/user-guide/building-collection.md +++ b/docs/user-guide/building-collection.md @@ -31,7 +31,7 @@ NOTE: For a more detailed explanation about using Ansible Creator in the VS Code - Navigate to the collection directory and run: ```console -$ ade install -e . +$ ade install --im cfg -e . ``` - This installation method adds the collection to the system paths so that Ansible knows about it. Additionally, it enhances the development process by allowing on-the-go changes to the module code. From 82b985ebb664d605b66b012c9048041436850099 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 30 Jun 2025 19:46:40 +0000 Subject: [PATCH 2/2] chore: auto fixes from pre-commit.com hooks --- docs/contributor-guide.md | 1 - docs/user-guide/content-release.md | 2 -- docs/user-guide/test-isolation.md | 1 - 3 files changed, 4 deletions(-) diff --git a/docs/contributor-guide.md b/docs/contributor-guide.md index 87c127e8..f862ada8 100644 --- a/docs/contributor-guide.md +++ b/docs/contributor-guide.md @@ -71,7 +71,6 @@ At this moment the devspaces container is not tested by the CI, so it is importa ## Talk to us - Join the Ansible forum: - - [Get Help](https://forum.ansible.com/c/help/6): get help or help others. Please add appropriate tags if you start new discussions, for example the `devtools` tag. - [Posts tagged with 'devtools'](https://forum.ansible.com/tag/devtools): subscribe to participate in project-related conversations. - [Social Spaces](https://forum.ansible.com/c/chat/4): gather and interact with fellow enthusiasts. diff --git a/docs/user-guide/content-release.md b/docs/user-guide/content-release.md index 8202281e..03f101bb 100644 --- a/docs/user-guide/content-release.md +++ b/docs/user-guide/content-release.md @@ -84,12 +84,10 @@ jobs: The repo that is being released must have the following environments created: - **Name: release** - - `AH_TOKEN` - `ANSIBLE_GALAXY_API_KEY` - **Name: push** - - `BOT_PAT` - `refresh_ah_token`: Make sure this workflow in netcommon has run successfully in the previous run. If not, it must be triggered to re-run and ensure it is successfully executed. diff --git a/docs/user-guide/test-isolation.md b/docs/user-guide/test-isolation.md index fc6c215e..f823b180 100644 --- a/docs/user-guide/test-isolation.md +++ b/docs/user-guide/test-isolation.md @@ -37,7 +37,6 @@ following predictable behaviors: ## Isolated mode (default) - First folder that is not read-only from the list below will be used as cache directory and also : - - `$VIRTUAL_ENV/.ansible` for anything but collections, those will be inside `lib/python3.*/site-packages/ansible_collections` because this makes them available to ansible-core without any additional configuration. - `$PROJECT_ROOT/.ansible` - `$TMPDIR/.ansible-` for temporary installations