Execution
Date 12 Jul 2024 17:10:34 +0100
Duration 00:00:00.16
Controller ssh-gw-4.layershift.com
User root
Versions
Ansible 2.16.4
ara 1.7.1 / 1.7.1
Python 3.10.10
Summary
0 Hosts
0 Tasks
0 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 }}"