geerlingguy / geerlingguy/ansible-for-devops

Anyone try to run molecule as docker container

Open
#390 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
9.9k
Forks
3.8k
PR merge metrics
No merged PRs in 30d

Description

I have some demo code would like to you guys to test it:
[dockerfile](https://github.com/FinalDes/docker-tools/blob/master/ansible/Dockerfile)
[docker-compose-file](https://github.com/FinalDes/docker-tools/blob/master/ansible/docker-compose.yml)
and i have follow errors:
```
fatal: [ubuntu20.04]: UNREACHABLE! => {"changed": false, "msg": "Failed to create temporary directory.In some cases, you may have been able to authenticate and did not have permissions on the target directory. Consider changing the remote tmp path in ansible.cfg to a path rooted in \"/tmp\", for more error information use -vvv. Failed command was: ( umask 77 && mkdir -p \"` echo ~/.ansible/tmp `\"&& mkdir \"` echo ~/.ansible/tmp/ansible-tmp-1614604802.0530245-585-44647191200495 `\" && echo ansible-tmp-1614604802.0530245-585-44647191200495=\"` echo ~/.ansible/tmp/ansible-tmp-1614604802.0530245-585-44647191200495 `\" ), exited with result 1", "unreachable": true}
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the linked ansible/Dockerfile and ansible/docker-compose.yml, then reproduce the reported Ansible failure in the container setup. Check the remote temporary-directory error and the referenced ansible.cfg setting. The issue has no acceptance criterion, so done would require a confirmed cause and documented resolution or a clear statement that the setup is unsupported.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible, docker, docker-compose
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.