Skip to content

Instantly share code, notes, and snippets.

@EugenMayer
Last active April 11, 2024 11:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EugenMayer/d29d598b063e0ff4e334d97d1a50f175 to your computer and use it in GitHub Desktop.
Save EugenMayer/d29d598b063e0ff4e334d97d1a50f175 to your computer and use it in GitHub Desktop.
---
- name: Converge
hosts: all
roles: []
molecule --version
molecule 6.0.3 using python 3.9
ansible:2.15.10
azure:23.5.3 from molecule_plugins
containers:23.5.3 from molecule_plugins requiring collections: ansible.posix>=1.3.0 community.docker>=1.9.1 containers.podman>=1.8.1
default:6.0.3 from molecule
docker:23.5.3 from molecule_plugins requiring collections: community.docker>=3.4.11 ansible.posix>=1.4.0
ec2:23.5.3 from molecule_plugins
gce:23.5.3 from molecule_plugins requiring collections: google.cloud>=1.0.2 community.crypto>=1.8.0
openstack:23.5.3 from molecule_plugins requiring collections: openstack.cloud>=2.1.0
podman:23.5.3 from molecule_plugins requiring collections: containers.podman>=1.7.0 ansible.posix>=1.3.0
vagrant:23.5.3 from molecule_plugins
INFO Dependency completed successfully.
WARNING Skipping, missing the requirements file.
INFO Running default > create
WARNING Skipping, instances already created.
INFO Running default > prepare
WARNING Skipping, prepare playbook not configured.
INFO Running default > converge
INFO Sanity checks: 'docker'
PLAY [Converge] ****************************************************************
TASK [Gathering Facts] *********************************************************
fatal: [instance]: 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-1712835781.3605638-157511-181782053947075 `\" && echo ansible-tmp-1712835781.3605638-157511-181782053947075=\"` echo ~/.ansible/tmp/ansible-tmp-1712835781.3605638-157511-181782053947075 `\" ), exited with result 1", "unreachable": true}
PLAY RECAP *********************************************************************
instance : ok=0 changed=0 unreachable=1 failed=0 skipped=0 rescued=0 ignored=0
---
dependency:
name: galaxy
options:
role-file: requirements.yml
requirements-file: collections.yml
driver:
name: docker
platforms:
- name: instance
image: 'geerlingguy/docker-${MOLECULE_DISTRO:-ubuntu2204}-ansible:latest'
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
capabilities:
- SYS_ADMIN
command: "/lib/systemd/systemd"
tmpfs:
- /run
- /tmp
pre_build_image: true
provisioner:
name: ansible
verifier:
name: testinfra
ansible-lint
molecule
molecule-plugins[docker]
yamllint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment