shiftstack / dev-install

13 stars 16 forks source link

nmstate_ifs requires from_yaml #227

Open gprocunier opened 5 months ago

gprocunier commented 5 months ago

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 }}"