Skip to content

Error installing guacamole using ludus #446

@aancw

Description

@aancw

Hi,
When i'm installing guacamole extension using ludus provider, it will result error like this:

[*] Running command : ansible-playbook -i /root/ludus-range/GOAD/ad/GOAD/data/inventory -i /root/ludus-range/GOAD/workspace/xxxxx-goad-ludus/inventory -i /root/ludus-range/GOAD/workspace/xxxxx-goad-ludus/wazuh_inventory -i
/root/ludus-range/GOAD/workspace/xxxxx-goad-ludus/guacamole_inventory -i /root/ludus-range/GOAD/globalsettings.ini install.yml
ERROR! the role 'geerlingguy.mysql' was not found in /root/ludus-range/GOAD/extensions/guacamole/ansible/roles:/root/ludus-range/GOAD/extensions/guacamole/ansible/roles:/root/ludus-range/GOAD/ansible/roles:/root/.ansible/roles:/etc/ansible/roles:/root/ludus-range/GOAD/extensions/guacamole/ansible

The error appears to be in '/root/ludus-range/GOAD/extensions/guacamole/ansible/install.yml': line 52, column 5, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

  roles:
  - { role: 'geerlingguy.mysql', tags: 'mysql'}
    ^ here
This one looks easy to fix. It seems that there is a value started
with a quote, and the YAML parser is expecting to see the line ended
with the same kind of quote. For instance:

    when: "ok" in result.stdout

Could be written as:

   when: '"ok" in result.stdout'

Or equivalently:

   when: "'ok' in result.stdout"
[*] CWD: /extensions/guacamole/ansible
[*] Running command : ansible-playbook -i /root/ludus-range/GOAD/ad/GOAD/data/inventory -i /root/ludus-range/GOAD/workspace/xxxx-goad-ludus/inventory -i /root/ludus-range/GOAD/workspace/xxxx-goad-ludus/wazuh_inventory -i
/root/ludus-range/GOAD/workspace/xxxx-goad-ludus/guacamole_inventory -i /root/ludus-range/GOAD/globalsettings.ini install.yml
ERROR! the role 'geerlingguy.mysql' was not found in /root/ludus-range/GOAD/extensions/guacamole/ansible/roles:/root/ludus-range/GOAD/extensions/guacamole/ansible/roles:/root/ludus-range/GOAD/ansible/roles:/root/.ansible/roles:/etc/ansible/roles:/root/ludus-range/GOAD/extensions/guacamole/ansible

The error appears to be in '/root/ludus-range/GOAD/extensions/guacamole/ansible/install.yml': line 52, column 5, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

  roles:
  - { role: 'geerlingguy.mysql', tags: 'mysql'}
    ^ here
This one looks easy to fix. It seems that there is a value started
with a quote, and the YAML parser is expecting to see the line ended
with the same kind of quote. For instance:

    when: "ok" in result.stdout

Could be written as:

   when: '"ok" in result.stdout'

Or equivalently:

   when: "'ok' in result.stdout"

Do i need to install role for geerlingguy.mysql first?

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