Repository navigation
fix(docs): update docs about tmp dir - #4639
Merged
Merged
Conversation
There were a few inconsistencies about how to address the `/tmp` directory in the simple example, which describes the setup of testing inside a collection:
The var `tmp_dir` was implemented multiple times:
- `inventory.yml`
- `converge.yml`
- `cleanup.yml`
It should be sufficient in inventory.
The default value was never used, since `lookup('env', 'TMPDIR')` does not result in false.
The default value was set as `/tmp` which is later concatinatet to `/tmphost1_created.yml` and not `/tmp/host1_created.yml` which leads to permission errors on most linux distributions.
shatakshiiii
approved these changes
Jun 4, 2026
rija
added a commit
to rmenage/ansible-role-hardened-docker
that referenced
this pull request
Jul 30, 2026
This MR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [molecule](https://github.com/ansible-community/molecule) ([changelog](https://github.com/ansible-community/molecule/releases)) | `>=26.4.0,<26.5.0` → `>=26.6.0,<26.7.0` |  |  | --- ### Release Notes <details> <summary>ansible-community/molecule (molecule)</summary> ### [`v26.6.0`](https://github.com/ansible/molecule/releases/tag/v26.6.0) [Compare Source](ansible/molecule@v26.4.0...v26.6.0) #### Features - feat: enable command borders and report by default ([#​4632](ansible/molecule#4632)) [@​cidrblock](https://github.com/cidrblock) #### Fixes - fix: upgrade cryptography and cairosvg to patch known vulnerabilities ([#​4652](ansible/molecule#4652)) [@​sudhirverma](https://github.com/sudhirverma) - fix: add missing build\_ignore entries to galaxy.yml ([#​4650](ansible/molecule#4650)) [@​sudhirverma](https://github.com/sudhirverma) - fix: merge runtime environment in run\_command to preserve ANSIBLE\_ROLES\_PATH ([#​4634](ansible/molecule#4634)) [@​Dotify71](https://github.com/Dotify71) - fix(docs): update docs about tmp dir ([#​4639](ansible/molecule#4639)) [@​MaKaNu](https://github.com/MaKaNu) - fix: update \_extends syntax for release-drafter v7 compatibility ([#​4638](ansible/molecule#4638)) [@​rockygeekz](https://github.com/rockygeekz) - fix(security): update dependencies \[SECURITY] ([#​4630](ansible/molecule#4630)) @​[renovate\[bot\]](https://github.com/apps/renovate) #### Maintenance - chore: remove previously-synced agent skills ([#​4648](ansible/molecule#4648)) [@​ansibuddy](https://github.com/ansibuddy) - chore(deps): update all dependencies pep621 ([#​4645](ansible/molecule#4645)) @​[renovate\[bot\]](https://github.com/apps/renovate) - chore(deps): update all dependencies ([#​4644](ansible/molecule#4644)) @​[renovate\[bot\]](https://github.com/apps/renovate) - chore(deps): update all dependencies pep621 ([#​4643](ansible/molecule#4643)) @​[renovate\[bot\]](https://github.com/apps/renovate) - chore(deps): update all dependencies ([#​4636](ansible/molecule#4636)) @​[renovate\[bot\]](https://github.com/apps/renovate) - chore(deps): update pep621 ([#​4637](ansible/molecule#4637)) @​[renovate\[bot\]](https://github.com/apps/renovate) - chore(deps): update pep621 ([#​4629](ansible/molecule#4629)) @​[renovate\[bot\]](https://github.com/apps/renovate) - fix(security): update dependencies \[SECURITY] ([#​4630](ansible/molecule#4630)) @​[renovate\[bot\]](https://github.com/apps/renovate) - chore(deps): update all dependencies ([#​4621](ansible/molecule#4621)) @​[renovate\[bot\]](https://github.com/apps/renovate) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45OS4wIiwidXBkYXRlZEluVmVyIjoiNDIuOTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Refs: rmenage/ansible-role-hardened-docker!41 See-also:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There were a few inconsistencies about how to address the
/tmpdirectory in the simple example, which describes the setup of testing inside a collection:The var
tmp_dirwas implemented multiple times:inventory.ymlconverge.ymlcleanup.ymlIt should be sufficient in inventory.
The default value was never used, since
lookup('env', 'TMPDIR')does not result in false.The default value was set as
/tmpwhich is later concatinatet to/tmphost1_created.ymland not/tmp/host1_created.ymlwhich leads to permission errors on most linux distributions.