Execution
Date 09 Apr 2025 14:36:42 +0100
Duration 00:00:01.10
Controller ssh-gw-4.layershift.com
User root
Versions
Ansible 2.16.11
ara 1.7.2 / 1.7.2
Python 3.10.10
Summary
1 Hosts
2 Tasks
2 Results
1 Plays
1 Files
0 Records

File: /home/ssh-gateway/ansible/projects/RM8990/RM8990-reset-firewall.yaml

---
- hosts: all
  gather_facts: false
  vars:
    reset_script: https://deploy.thecode.casa/firewall360/reset_firewall.sh
  tasks:
    - name: reset firewall
      ansible.builtin.shell: |
        set -o pipefail
        curl -s "{{ reset_script }}" | bash
      args:
        executable: /bin/bash
      changed_when: false
      register: reset_out
    - name: print debug
      ansible.builtin.debug:
        msg: "{{ reset_out }}"