Skip to content

Commit

Permalink
Merge pull request #47 from avinetworks/AV-60108
Browse files Browse the repository at this point in the history
#AV-60108 : Ansible Role avicontroller: Failing for ansible version check
  • Loading branch information
Gaurav Rastogi authored Apr 4, 2019
2 parents 85b7872 + de19dbf commit 3d888c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# handlers for avinetworks.avicontroller
- name: Avi Controller | Services | systemd | Daemon reload
systemd: daemon_reload=yes name=avicontroller
when: ansible_version is version_compare('2.2', '>=')
when: ansible_version.full is version_compare('2.2', '>=')

- name: Avi Controller | Services | Restart the avicontroller service
service: name=avicontroller enabled=yes state=restarted
Expand Down

0 comments on commit 3d888c7

Please sign in to comment.