.. _junos_commit: junos_commit - Execute commit on device +++++++++++++++++++++++++++++++++++++++ :Author: Rick Sherman, Juniper Networks .. contents:: :local: :depth: 1 Synopsis -------- .. versionadded:: 1.2.0 Execute a Commit on a device running Junos independently of loading a configuration Options ------- .. raw:: html
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 -------- .. raw:: html
                  :: - junos_commit: host: "{{ inventory_hostname }}" logfile=changes.log comment="Non load commit"