Skip to content

Navigation Menu

Sign in
Sign up

Typo ansible.builtin.set_fact.set_fact in engine role (works today, fragile) #94

Open

Description

In roles/engine/tasks/main.yml, the task "Parse config_json as JSON" uses:

ansible.builtin.set_fact.set_fact:

Correction after testing: this does NOT fail. On ansible-core 2.17 the name resolves and the fact is set correctly, which is why deploys have always worked (the typo has been there since the initial commit). The resolver apparently tolerates the extra segment, but that behavior is undocumented and could change in a future ansible-core release, and ansible-lint flags it.

Low priority. Suggested fix, one line:

ansible.builtin.set_fact:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      AltStyle によって変換されたページ (->オリジナル) /