junos_commit - Execute commit on device

Author:Rick Sherman, Juniper Networks

Synopsis

New in version 1.2.0.

Execute a Commit on a device running Junos independently of loading a configuration

Options

parameter required default choices comments
comment no None
    Provide a comment to the commit of the configuration
    confirm no None
      Provide a confirm in minutes to the commit of the configuration
      host yes
        Set to {{ inventory_hostname }}
        logfile no None
          Path on the local server where the progress status is logged for debugging purposes
          passwd no assumes ssh-key active
            Login password
            port no 830
              TCP port number to use when connecting to the device
              timeout no 0
                Extend the NETCONF RPC timeout beyond the default value of 30 seconds. Set this value to accommodate commits that might take longer than the default timeout interval.
                user no $USER
                  Login username

                  Note

                  Requires junos-eznc >= 1.2.2

                  Examples


                  - junos_commit:
                     host: "{{ inventory_hostname }}"
                     logfile=changes.log
                     comment="Non load commit"