Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ssh ansible@192.168.56.11 -p 830 -s netconfImage Removed


Create an directory ( on the windows host )  + and create the hosts and playbook.yml there

jkriker@jkriker-T460 MINGW64 ~/Documents/ansiblescript
$ cd facts_playbook/

jkriker@jkriker-T460 MINGW64 ~/Documents/ansiblescript/facts_playbook
$ ls
hosts playbook.yml


Start the container:

docker run -it --rm -v $PWD:/project juniper/pyez-ansible ash

-it
--rm
-v    $PWD         is the host directory
        :/project    is the container directory

Image Added