Execution
Date 06 Aug 2025 14:16:11 +0100
Duration 00:01:39.21
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
402 Hosts
1 Tasks
402 Results
1 Plays
1 Files
0 Records

File: /home/ssh-gateway/ansible/kuly/check_efi_boot_state.yaml

- name: Playbook to check
  hosts: all
  gather_facts: false
  tasks:
    - name: Check the status
      ansible.builtin.shell:
        cmd: |
          set -o pipefail
          mokutil --sb-state
        executable: /bin/bash
      register: out
      changed_when: "'SecureBoot enabled' not in out.stdout"