Skip to content

Unable to load inventory nodes due to vault parsing error #385

@diginote

Description

@diginote

Since the update from Rundeck v5.2.0 to v5.5.0, nodes cannot be loaded because reading vault files fails:

...
rundeck-app    | [2024-08-15T13:40:11,128] ERROR resources.ExceptionCatchingResourceModelSource - [ResourceModelSource: 1.source (com.batix.rundeck.plugins.AnsibleResourceModelSourceFactory), project: App-Test]
rundeck-app    | com.dtolabs.rundeck.core.resources.ResourceModelSourceException: Cannot load yaml data coming from Ansible: could not determine a constructor for the tag !vault
rundeck-app    |  in 'string', line 33, column 37:
rundeck-app    |               vault_app_admin_pw: !vault |
rundeck-app    |                                         ^
rundeck-app    |
...
rundeck-app    |        at java.lang.Thread.run(Thread.java:829) [?:?]
rundeck-app    | Caused by: org.yaml.snakeyaml.constructor.ConstructorException: could not determine a constructor for the tag !vault
rundeck-app    |  in 'string', line 33, column 37:
rundeck-app    |               vault_app_admin_pw: !vault |
rundeck-app    |                                         ^
...

Running the playbook without rundeck works as expected (same host as rundeck).

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