Skip to content

Commit

Permalink
chore: 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 Sep 1, 2022
1 parent 4550417 commit ed994c3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ansiblelint/rules/deprecated_module.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Refer to the [Ansible module index](https://docs.ansible.com/ansible/latest/coll
tasks:
- name: Configure VLAN ID
ansible.netcommon.net_vlan: # <-- This module is deprecated.
vlan_id: 20
vlan_id: 20
```
## Correct Code
Expand All @@ -27,6 +27,6 @@ Refer to the [Ansible module index](https://docs.ansible.com/ansible/latest/coll
tasks:
- name: Configure VLAN ID
dellemc.enterprise_sonic.sonic_vlans: # <-- Use a platform specific module.
config:
- vlan_id: 20
```
config:
- vlan_id: 20
```

0 comments on commit ed994c3

Please sign in to comment.