-
Notifications
You must be signed in to change notification settings - Fork 23.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With ansible_python_interpreter python3 docker_login module breaks #26690
Labels
affects_2.3
This issue/PR affects Ansible v2.3
bug
This issue/PR relates to a bug.
cloud
docker
module
This issue/PR relates to a module.
python3
support:community
This issue/PR relates to code supported by the Ansible community.
Comments
ansibot
added
affects_2.3
This issue/PR affects Ansible v2.3
bug_report
cloud
docker
module
This issue/PR relates to a module.
needs_triage
Needs a first human triage before being processed.
python3
support:community
This issue/PR relates to code supported by the Ansible community.
labels
Jul 12, 2017
calfonso
removed
the
needs_triage
Needs a first human triage before being processed.
label
Jul 12, 2017
Is there a workaround for this without using devel? |
The workaround I have in place is as follows:
The playbook then runs the task: - name: Docker post install steps
hosts: docker_nodes
tasks:
- name: Use the copy module to pass the ~/.docker/config.json directly onto each docker node
copy:
src: /tmp/docker-config.json
dest: /root/.docker/config.json
owner: root
group: root
mode: 0644 Assumes a standard installation of Docker as root user of course .... |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
affects_2.3
This issue/PR affects Ansible v2.3
bug
This issue/PR relates to a bug.
cloud
docker
module
This issue/PR relates to a module.
python3
support:community
This issue/PR relates to code supported by the Ansible community.
ISSUE TYPE
COMPONENT NAME
module docker_login
ANSIBLE VERSION
CONFIGURATION
ansible_python_interpreter: "/usr/bin/python3"
The installed versions of pip packages on the docker host:
OS / ENVIRONMENT
Docker image: ubuntu:16.04
SUMMARY
The docker_login module fails with python3, but states inside https://docs.ansible.com/ansible/docker_login_module.html that
python >= 2.6
anddocker-py >= 1.7.0
are supported!STEPS TO REPRODUCE
EXPECTED RESULTS
Success
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: