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, 2019 in Ansible by Linda
1,004 views

1 answer to this question.

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, 2019 by Pragati

Related Questions In Ansible

0 votes
1 answer
+1 vote
1 answer
0 votes
1 answer
0 votes
1 answer

bash: ansible: command not found. Failed to search for file: Cannot update read-only repo

Hi@akhtar, By default, Ansible is not part of ...READ MORE

answered Jul 28, 2020 in Ansible by MD
• 95,440 points
10,348 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,503 views
+2 votes
1 answer
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, 2019 in Ansible by Cerci
4,543 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP