8000 fix(docs): update docs about tmp dir by MaKaNu · Pull Request #4639 · ansible/molecule · GitHub
[go: up one dir, main page]

Skip to content

fix(docs): update docs about tmp dir - #4639

Merged
shatakshiiii merged 2 commits into
ansible:mainfrom
MaKaNu:main
Jun 4, 2026
Merged

shatakshiiii merged 2 commits into
ansible:mainfrom
MaKaNu:main

Conversation

@MaKaNu
@MaKaNu MaKaNu commented May 19, 2026
Copy link
Copy Markdown
Contributor

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.

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.
@MaKaNu MaKaNu changed the title docs(collection): update docs about tmp dir fix(docs): update docs about tmp dir May 20, 2026
@github-actions github-actions Bot added the fix label Jun 4, 2026
@shatakshiiii
shatakshiiii merged commit 1abfd80 into ansible:main Jun 4, 2026
18 checks passed
@github-project-automation github-project-automation Bot moved this from Review to Done in 🧰 devtools project board Jun 4, 2026
rija added a commit to rmenage/ansible-role-hardened-docker that referenced this pull request Jul 30, 2026
< 8000 div class="AvatarStack flex-self-start " >
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` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/molecule/26.6.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/molecule/26.4.0/26.6.0?slim=true) |

---

### 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 ([#&#8203;4632](ansible/molecule#4632)) [@&#8203;cidrblock](https://github.com/cidrblock)

#### Fixes

- fix: upgrade cryptography and cairosvg to patch known vulnerabilities ([#&#8203;4652](ansible/molecule#4652)) [@&#8203;sudhirverma](https://github.com/sudhirverma)
- fix: add missing build\_ignore entries to galaxy.yml ([#&#8203;4650](ansible/molecule#4650)) [@&#8203;sudhirverma](https://github.com/sudhirverma)
- fix: merge runtime environment in run\_command to preserve ANSIBLE\_ROLES\_PATH ([#&#8203;4634](ansible/molecule#4634)) [@&#8203;Dotify71](https://github.com/Dotify71)
- fix(docs): update docs about tmp dir ([#&#8203;4639](ansible/molecule#4639)) [@&#8203;MaKaNu](https://github.com/MaKaNu)
- fix: update \_extends syntax for release-drafter v7 compatibility ([#&#8203;4638](ansible/molecule#4638)) [@&#8203;rockygeekz](https://github.com/rockygeekz)
- fix(security): update dependencies \[SECURITY] ([#&#8203;4630](ansible/molecule#4630)) @&#8203;[renovate\[bot\]](https://github.com/apps/renovate)

#### Maintenance

- chore: remove previously-synced agent skills ([#&#8203;4648](ansible/molecule#4648)) [@&#8203;ansibuddy](https://github.com/ansibuddy)
- chore(deps): update all dependencies pep621 ([#&#8203;4645](ansible/molecule#4645)) @&#8203;[renovate\[bot\]](https://github.com/apps/renovate)
- chore(deps): update all dependencies ([#&#8203;4644](ansible/molecule#4644)) @&#8203;[renovate\[bot\]](https://github.com/apps/renovate)
- chore(deps): update all dependencies pep621 ([#&#8203;4643](ansible/molecule#4643)) @&#8203;[renovate\[bot\]](https://github.com/apps/renovate)
- chore(deps): update all dependencies ([#&#8203;4636](ansible/molecule#4636)) @&#8203;[renovate\[bot\]](https://github.com/apps/renovate)
- chore(deps): update pep621 ([#&#8203;4637](ansible/molecule#4637)) @&#8203;[renovate\[bot\]](https://github.com/apps/renovate)
- chore(deps): update pep621 ([#&#8203;4629](ansible/molecule#4629)) @&#8203;[renovate\[bot\]](https://github.com/apps/renovate)
- fix(security): update dependencies \[SECURITY] ([#&#8203;4630](ansible/molecule#4630)) @&#8203;[renovate\[bot\]](https://github.com/apps/renovate)
- chore(deps): update all dependencies ([#&#8203;4621](ansible/molecule#4621)) @&#8203;[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:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants

0