Versions Compared

Key

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


https://hub.docker.com/r/juniper/pyez-ansible/

Start by clicking on the docker icon ( windows ) 

Image Removed

Commands:

docker pull juniper/pyez-ansibledocker run -it --rm juniper/pyez-ansible ash
### see below, with mounted folder ### docker run -it --rm -v $PWD:/project juniper/pyez-ansible ash



vMX config for ansible + Netconfig

...

ssh ansible@192.168.56.11 -p 830 -s netconf



Start by clicking on the docker icon ( windows ) 

Image Added
search for available containerdocker search juniper
pull the image ( optional)

docker pull juniper/pyez-ansible

docker images



Creat a local directory



create the container 







### see below, with mounted folder ###

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


docker run -it --rm juniper/pyez-ansible ash























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

...

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


Start the container:

cd   ~/Documents/ansiblescript/facts_playbook

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

...