f5networks.f5_bigip.bigip_configsync_action (3.4.0) — module

Perform different actions related to config-sync

| "added in version" 1.0.0 of f5networks.f5_bigip"

Authors: Wojciech Wypior (@wojtek0806)

Install collection

Install with ansible-galaxy collection install f5networks.f5_bigip:==3.4.0


Add to requirements.yml

  collections:
    - name: f5networks.f5_bigip
      version: 3.4.0

Description

Allows running different config-sync actions. These actions allow you to manually sync your configuration across multiple BIG-IPs when those devices are in an HA pair.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Sync configuration from device to group
  bigip_configsync_action:
    device_group: foo-group
    sync_device_to_group: true
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Sync configuration from most recent device to the current host
  bigip_configsync_action:
    device_group: foo-group
    sync_group_to_device: true
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Perform an initial sync of a device to a new device group
  bigip_configsync_action:
    device_group: new-device-group
    sync_device_to_group: true

Inputs

    
device_group:
    description:
    - The device group on which you want to perform config-sync actions.
    required: true
    type: str

overwrite_config:
    default: false
    description:
    - Indicates the sync operation overwrites the configuration on the target.
    type: bool

sync_device_to_group:
    description:
    - Specifies the system synchronizes configuration data from this device to other members
      of the device group. In this case, the device will do a "push" to all the other
      devices in the group. This option is mutually exclusive with the C(sync_group_to_device)
      option.
    type: bool

sync_group_to_device:
    description:
    - Specifies the system synchronizes configuration data from the device with the most
      recent configuration. In this case, the device will do a "pull" from the most recently
      updated device. This option is mutually exclusive with the C(sync_device_to_group)
      options.
    type: bool