Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nmstate_ifs requires from_yaml #227

Open
gprocunier opened this issue May 26, 2024 · 0 comments
Open

nmstate_ifs requires from_yaml #227

gprocunier opened this issue May 26, 2024 · 0 comments

Comments

@gprocunier
Copy link
Contributor

gprocunier commented May 26, 2024

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 }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant