Automation

 View Only
last person joined: 10 days ago 

Ask questions and share experiences about Apstra, Paragon, and all things network automation.
  • 1.  What is the difference between Juniper Ansible modules junipernetworks.junos.junos_package and juniper.device.software?

    Posted 09-19-2023 19:03

    What is the difference between Juniper Ansible modules junipernetworks.junos.junos_package and juniper.device.software? And which one should be used for Juniper upgrades of network devices?  



    ------------------------------
    JUAN RUIZ
    ------------------------------


  • 2.  RE: What is the difference between Juniper Ansible modules junipernetworks.junos.junos_package and juniper.device.software?
    Best Answer

    Posted 11-17-2023 05:36

    Between the Ansible maintained collection, junipernetworks.junos, and the Juniper maintained collection, juniper.device, I am always going to start with the Juniper maintained one. (I work at Juniper, but I give reasons beyond knowing the developers below.) Pre 2.10, I completely understood why people used the Ansible ones as they were in Ansible Base by default and had been tested more recently. But since the move to Ansible Core, I would always recommend the Juniper ones for these reasons:
    - Built with Junos best practices
    - Regression tested with Junos OS and Junos Evolved
    - Additional configuration formats.. do the Ansible ones support XML, JSON, and set yet? 
    - Pre and post check support
    As a reminder, the files are not all compatible between collections, so there are differences if you want create separate playbooks to test with both. 

    TL; DR I would use these juniper.device modules



    ------------------------------
    Jessica Garrison
    ------------------------------



  • 3.  RE: What is the difference between Juniper Ansible modules junipernetworks.junos.junos_package and juniper.device.software?

    Posted 11-27-2023 16:30

    Thank you very much for clarifying this and it makes perfect sense and good reason to use the Juniper maintained collection. 



    ------------------------------
    JUAN RUIZ
    ------------------------------