Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Synchronize Configurations between Cluster Members via cli

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    1 Posts 1 Posters 274 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tkriviradev
      last edited by

      Hello,

      I am working on ansible pfsense automation.
      I want to ask and confirm the best way to trigger config sync between two firewalls?
      Any suggestions are welcome.

      # Reload the system config-if changed
      - name: Reload_System_Config
        become: true
        ansible.builtin.shell: "{{ item }}"
        loop:
          - rm /tmp/config.cache
          - /etc/rc.reload_all
      
      # Synchronize Configurations between Cluster Members
      - name: System_configure_sync
        become: true
        ansible.builtin.shell: "{{ item }}"
        loop:
          - /etc/rc.filter_configure_sync
          - /etc/rc.filter_synchronize
      
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.