Skip to content

Cannot pass all-in-one-mode assertion #19

@jessequinn

Description

@jessequinn

What happened?

TASK [cloudalchemy.cortex : Services should be empty when all-in-one-mode is enabled] **************************************************************************************************************************************************
fatal: [cortex]: FAILED! => {
    "assertion": "cortex_all_in_one == (cortex_services|length == 0)",
    "changed": false,
    "evaluated_to": false,
    "msg": "Exactly one of cortex_all_in_one or cortex_services should be set."
}

Did you expect to see some different?

expected to pass assertion.

How to reproduce it (as minimally and precisely as possible):

- hosts: all
   roles:
    - cloudalchemy.cortex

Environment

  • Role version:

    `jesse.quinn@monitoring-security:~/ansible$ ansible-galaxy role list

/home/jesse.quinn/.ansible/roles

  • cloudalchemy.cortex, master
    `
  • Ansible version information:

    ansible --version
    ansible 2.9.6 config file = /home/jesse.quinn/ansible/ansible.cfg configured module search path = ['/home/jesse.quinn/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3/dist-packages/ansible executable location = /usr/bin/ansible python version = 3.8.10 (default, Jun 2 2021, 10:49:15) [GCC 9.4.0]

  • Variables:

n/a

  • Ansible playbook execution Logs:
TASK [cloudalchemy.cortex : Services should be empty when all-in-one-mode is enabled] **************************************************************************************************************************************************
fatal: [cortex]: FAILED! => {
    "assertion": "cortex_all_in_one == (cortex_services|length == 0)",
    "changed": false,
    "evaluated_to": false,
    "msg": "Exactly one of cortex_all_in_one or cortex_services should be set."
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions