Skip to content

Commit

Permalink
json output is a list
Browse files Browse the repository at this point in the history
  • Loading branch information
jovial authored and sjpb committed Feb 12, 2025
1 parent 5f85452 commit c107823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles/lustre/tasks/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
_lustre_interface: "{{ _lustre_ip_r_mgs_info.dev }}"
_lustre_ip: "{{ _lustre_ip_r_mgs_info.prefsrc }}"
vars:
_lustre_ip_r_mgs_info: "{{ _lustre_ip_r_mgs.stdout | from_json }}"
_lustre_ip_r_mgs_info: "{{ _lustre_ip_r_mgs.stdout | from_json | first }}"

- name: Write LNet configuration file
template:
Expand Down

0 comments on commit c107823

Please sign in to comment.