Skip to content

nmstate_ifs requires from_yaml #227

@gprocunier

Description

@gprocunier

This is appears to still be needed:

installing host running dev-install is fedora 40
target host from inventory is always rhel 9.2

ansible-9.5.1-1.fc40.noarch

If from_yaml is not called then this fails to parse.

--- playbooks/network.yaml	2024-05-26 14:31:34.662552380 -0400
+++ ../../dev-install/playbooks/network.yaml	2024-05-25 18:36:17.919422280 -0400
@@ -113,7 +113,7 @@
         stdin: "{{ network_state | to_nice_json }}"
       vars:
         network_state:
-          interfaces: "{{ nmstate_ifs }}"
+          interfaces: "{{ nmstate_ifs | from_yaml }}"
           # add saved static routes
           routes:
             config: "{{ nmstate_routes }}"

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