Error saying "ERROR: for ansible-container Container command '/usr/local/bin/builder.sh' not found or does not exist."

0 votes

My container.yml:

version: "1"
services:
  web:
    image: busybox:latest

registries: {}

main.yml:

- hosts:
  tasks:
    - name: Copy something
      copy: src=start_here.sh dest=/etc/start_here.sh

I keep encountering the following error:

ERROR: for ansible-container  Container command '/usr/local/bin/builder.sh' not found or does not exist.
Feb 7 in Ansible by Linda
14 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

You are missing the settings for your conductor. Should be something like this:

version: "2"
settings:
  conductor:
    base: "centos:7"

Then you can start the services section

services:
  mongo:
    from: "centos:7"
answered Feb 7 by Pragati

Related Questions In Ansible

0 votes
1 answer
0 votes
1 answer
0 votes
2 answers

ansible-command not found

Use some other variable instead of PATH. READ MORE

answered Apr 23 in Ansible by Vismaya
1,858 views
0 votes
1 answer
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer

Remote host throwing error saying "Permission Denied" - Ansible

Hey @Patrick, Change the path of Ansible's remote_tmp ...READ MORE

answered Jan 16 in Ansible by Cerci
53 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.