Giter Club home page Giter Club logo

ansible_container's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ansible_container's Issues

Unable to run playbook with inventory as a argument.

Hi,

I am trying to run playbook from my local machine with inventory as argument with below command but ran into below issues.

docker run --rm --network host -v /home/centos/local-test/rala-v2:/tmp/rala-v2 philm/ansible_playbook:latest -i /tmp/rala-v2/runners/src/test/bashscript/inventory.sh  /tmp/rala-v2/runners/src/test/ansible/hadoopenv.yml
ERROR! Attempted to execute "/tmp/rala-v2/runners/src/test/bashscript/inventory.sh" as inventory script: problem running /tmp/rala-v2/runners/src/test/bashscript/inventory.sh --list ([Errno 2] No such file or directory)
[centos@sql-common test]$ docker run --rm --network host -v /home/centos/local-test/rala-v2:/tmp/rala-v2 philm/ansible_playbook:latest /tmp/rala-v2/runners/src/test/ansible/hadoopenv.yml

PLAY RECAP *********************************************************************

So just need to know if I have to pass inventory and playbook from local host how can I achieve this using current docker image.

SSH Known Host

When trying to run Ansible or Ansible-Playbook against a host, SSH warns that the host is not in known hosts, asks if the host should be added and waits on a yes/no reply.

Install the ansible using pip

i tried modifying the Dockerfile to use pip install ansible rather downloading and installing hard coded version .

ex: RUN pip install ansible

Can we in cooperate ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.