-
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
Playbook ansible with vagrant raises error because of task docker_service. #23607
Comments
What is the output on your terminal, echo $LANG? |
Got the same error also with docker_service in my project: Ansible task:
Docker-compose:
Error:
|
Got the same error as what? #23607 (comment) is not the same as the error in #23607 (comment) #23607 (comment) looks to be a python3 compatibility error and likely should be a different issue. |
@snowsky |
@alikins |
Will replacing acsii with utf-8 fix this issue? |
Try this command before ansible-playbook:
|
It doesn't fix it, same error. |
I cannot reproduce. Could you please try 6ec4f18? |
I can produce this. I believe the appropriate fix is actually the following:
This error occurs when the "build" phase, outputs non-ascii characters. Which would involve that one of the services from the |
Thanks @sivel, the PR was just updated. |
Thank you guys ! |
resolved_by_pr #23702 |
Please note that the !component =lib/ansible/modules/cloud/docker/docker_compose.py Also, please note that currently, nobody is actively maintaining the Ansible |
I will review the PR, verify that it fixes the issue, and create a new PR. |
Thank you very much for your interest in Ansible. Ansible has migrated much of the content into separate repositories to allow for more rapid, independent development. We are closing this issue/PR because this content has been moved to one or more collection repositories.
For further information, please see: |
ISSUE TYPE
COMPONENT NAME
Task docker_service
ANSIBLE VERSION
CONFIGURATION
No changes
OS / ENVIRONMENT
Running Ansible from ubuntu 16.04 LTS.
Managing Ansible from a VM (debian 8 jessie)
SUMMARY
Using docker_service to do a 'docker-compose up'. At the end a FAILED message appears but the containers runs properly in the VM.
STEPS TO REPRODUCE
This is a part of my Vagrantfile
This is my docker-compose.yml
EXPECTED RESULTS
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: