Versions Compared

Key

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





Docker container

Use juniper container: pyez-ansible

Install juniper/pyez-ansible Docker image

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


pip list | grep j


config file


Code Block
titleconfig file
---
hosts:
  - device: qfx5100
    username : netbox
    passwd: Netbox
    port: 22

tests:
  - jsnapy_tests.yaml

sqlite:
  - store_in_sqlite: yes
    check_from_sqlite: yes
    database_name: jbb1.db
 








Multi file
Config ( point to devices.yml, test.yml, mail.yml )

hosts ( list of devices )


devices.yml ( list of groups of devices)
test.yml  ( multiple files )