Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sabandi committed Apr 9, 2021
1 parent aa790e6 commit 82b4004
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .yamllint
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ rules:
new-lines: {type: unix}
trailing-spaces: disable
truthy: disable
line-length: disable
2 changes: 1 addition & 1 deletion molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ lint: |
provisioner:
name: ansible
verifier:
name: testinfra
name: testinfra
4 changes: 2 additions & 2 deletions tasks/docker/family/redhat.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# Verify if firewalld service is installed/present
- name: Avi Controller | Docker | Family | Verify Firewalld is present
command: systemctl is-enabled firewalld # noqa 303
command: systemctl is-enabled firewalld # noqa 303
register: result
failed_when: false
changed_when: false
Expand All @@ -13,7 +13,7 @@

# Verify if snmpd service is installed/present and enable
- name: Avi Controller | Docker | Family | Verify snmpd is present
command: systemctl is-enabled snmpd # noqa 303
command: systemctl is-enabled snmpd # noqa 303
register: snmpd_result
failed_when: false
changed_when: false
Expand Down
1 change: 0 additions & 1 deletion tasks/docker/services/systemd/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@
notify:
- Avi Controller | Services | systemd | Daemon reload
- Avi Controller | Services | Restart the avicontroller service

3 changes: 2 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
- ansible_version.full is version_compare('2.4', '<')
debug: >
msg="This role works best with ansible version 2.4 or greater.
It is recommended to use the latest ansible version for the best experience."
It is recommended to use the latest ansible version for the
best experience."
- name: Avi Controller | Deployment
include: "{{ con_deploy_type|lower }}/main.yml"

0 comments on commit 82b4004

Please sign in to comment.