Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 16, 2023
1 parent b8dcf3e commit 3e7d085
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ ip access-list test
10 permit ip 192.0.2.1/32 any log
20 permit ip 192.0.2.2/32 any log
30 permit ip 192.0.2.3/32 any log
40 permit ip 192.0.2.4/32 any log
40 permit ip 192.0.2.4/32 any log
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@
lines:
- "no ip access-list test"
ignore_errors: true

- name: "Populate nxos acls configuration with replace block and lines options"
register: result1
register: result1
cisco.nxos.nxos_config:
lines:
"{{ lookup('template', 'basic/acl_config.j2') }}"
lines: "{{ lookup('template', 'basic/acl_config.j2') }}"
replace: block

- ansible.builtin.assert:
Expand All @@ -21,7 +20,7 @@
- name: "setup"
cisco.nxos.nxos_config:
lines:
- "no ip access-list test"
- "no ip access-list test"
ignore_errors: true

- name: "Populate acl configuration with replace block and src options"
Expand Down

0 comments on commit 3e7d085

Please sign in to comment.