• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 273 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 Aug 18, 2023, 8:38 PM

    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
    1 out of 1
    • First post
      1/1
      Last post
    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
      This community forum collects and processes your personal information.
      consent.not_received