ansible.builtin.all (v2.16.5) — test

are all conditions in a list true

| "added in version" 2.4 of ansible.builtin"

Authors: Ansible Core

Install Ansible via pip

Install with pip install ansible-core==2.16.5

Description

This test checks each condition in a list for truthiness.

Same as the C(all) Python function.

Inputs

    
_input:
    description: List of conditions, each can be a boolean or conditional expression that
      results in a boolean value.
    elements: raw
    required: true
    type: list

Outputs

_value:
  description: Returns V(True) if all elements of the list were True, V(False) otherwise.
  type: boolean