Skip to content

Commit

Permalink
fixed: vim syntax (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
zerwes committed Sep 1, 2023
1 parent c7e3ea7 commit 5e05f92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tasks/group.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
delegate_to: localhost
community.general.xml:
path: "{{ local_config_path }}"
xpath: /opnsense/system/group[name/text()="{{ item.0.name }}"]/{{ item.1.key }}
xpath: "/opnsense/system/group[name/text()='{{ item.0.name }}']/{{ item.1.key }}"
value: "{{ item.1.value }}"
pretty_print: true
with_subelements:
Expand Down
4 changes: 2 additions & 2 deletions tasks/groupmembers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
delegate_to: localhost
community.general.xml:
path: "{{ local_config_path }}"
xpath: /opnsense/system/group[name/text()="{{ group.name }}"]/member
xpath: "/opnsense/system/group[name/text()='{{ group.name }}']/member"
state: absent
pretty_print: true
when: configuredmemberlist | default([]) != requestedmemberlist
Expand All @@ -58,7 +58,7 @@
delegate_to: localhost
community.general.xml:
path: "{{ local_config_path }}"
xpath: /opnsense/system/group[name/text()="{{ group.name }}"]
xpath: "/opnsense/system/group[name/text()='{{ group.name }}']"
add_children:
- member: "{{ item }}"
pretty_print: true
Expand Down

0 comments on commit 5e05f92

Please sign in to comment.