don't modify /etc/hosts with Docker host #90

Open
opened 2019-09-29 18:38:27 +02:00 by gcolpart · 0 comments
Owner

Docker doesn't allow to modify /etc/hosts : https://github.com/William-Yeh/docker-ansible/issues/4#issuecomment-149084120

TASK [evolinux-base : Set right localhost line in /etc/hosts] *******************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: OSError: [Errno 16] Device or resource busy
fatal: [docker00]: FAILED! => {"changed": false, "msg": "Unable to make /root/.ansible/tmp/ansible-moduletmp-1569774515.3-ypmiGn/tmpZ0bVaN into to /etc/hosts, failed final rename from /etc/.ansible_tmpccwf6xhosts: [Errno 16] Device or resource busy"}
Docker doesn't allow to modify /etc/hosts : https://github.com/William-Yeh/docker-ansible/issues/4#issuecomment-149084120 ~~~ TASK [evolinux-base : Set right localhost line in /etc/hosts] ******************************************* An exception occurred during task execution. To see the full traceback, use -vvv. The error was: OSError: [Errno 16] Device or resource busy fatal: [docker00]: FAILED! => {"changed": false, "msg": "Unable to make /root/.ansible/tmp/ansible-moduletmp-1569774515.3-ypmiGn/tmpZ0bVaN into to /etc/hosts, failed final rename from /etc/.ansible_tmpccwf6xhosts: [Errno 16] Device or resource busy"} ~~~
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: evolix/ansible-roles#90
No description provided.