geerlingguy / ansible-role-docker_arm

Ansible Role - Docker for ARM and Pi
MIT License
98 stars 28 forks source link

Debian 9 CI tests failing due to lack of Python 3 #15

Closed geerlingguy closed 4 years ago

geerlingguy commented 4 years ago

Fails on task:

TASK [geerlingguy.docker_arm : Install Docker Compose using Pip.] **************
...
stderr: pyrsistent requires Python '>=3.5' but the running Python is 2.7.13

See build failure: https://travis-ci.com/github/geerlingguy/ansible-role-docker_arm/jobs/392974448#L627

geerlingguy commented 4 years ago

Might be possible to just use pip3 executable for the pip task?

geerlingguy commented 4 years ago

When I drop the custom 'don't use pip' rule in Molecule, I get:

--> Action: 'idempotence'
ERROR: Idempotence test failed because of the following tasks:
* [instance] => geerlingguy.docker_arm : Install Docker Compose using Pip.

D'oh!

geerlingguy commented 4 years ago

Well now that's weird... If I run converge twice, it shows no changes...???

geerlingguy commented 4 years ago

Must've been a transient thing. It's working every test run now.