junos_rollback - Rollback configuration of device

Author:Rick Sherman, Juniper Networks

Synopsis

New in version 1.2.0.

Rollback the configuration of a device running Junos

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
      diffs_file no None
        Path to the file where any diffs will be written
        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
                rollback yes None
                  The rollback id value [0-49]
                  user no $USER
                    Login username

                    Note

                    Requires junos-eznc >= 1.2.2

                    Examples


                    - junos_rollback:
                       host: "{{ inventory_hostname }}"
                       logfile=rollback.log
                       diffs_file=rollback.diff
                       rollback=1
                       comment="Rolled back by Ansible"
                       confirm=5