Skip to content

Role is incompatible with Ansible 12.x #9

@andreaswolf

Description

@andreaswolf

When running the role with Ansible 12.x, I get the following error:

[ERROR]: Task failed: Conditional result (True) was derived from value of type 'str' at '/home/user/ansible-project/dependencies/ansible_collections/foundata/acmesh/roles/run/tasks/init.yml:132:37'. Conditionals must have a boolean result.

Task failed.
Origin: /home/user/ansible-project/dependencies/ansible_collections/foundata/acmesh/roles/run/tasks/setup/install/default.yml:199:3

197
198
199 - name: "Setup | Install | Default | Upgrade acme.sh"
      ^ column 3

<<< caused by >>>

Conditional result (True) was derived from value of type 'str' at '/home/user/ansible-project/dependencies/ansible_collections/foundata/acmesh/roles/run/tasks/init.yml:132:37'. Conditionals must have a boolean result.
Origin: /home/user/ansible-project/dependencies/ansible_collections/foundata/acmesh/roles/run/tasks/setup/install/default.yml:236:7

234     chdir: "{{ run_acmesh_cfg_home }}"
235   when:
236     - __run_acmesh_version_installed
          ^ column 7

Broken conditionals can be temporarily allowed with the `ALLOW_BROKEN_CONDITIONALS` configuration option.

fatal: [host.example.org]: FAILED! => {"changed": false, "msg": "Task failed: Conditional result (True) was derived from value of type 'str' at '/home/user/ansible-project/dependencies/ansible_collections/foundata/acmesh/roles/run/tasks/init.yml:132:37'. Conditionals must have a boolean result."}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions