Skip to content

Commit

Permalink
cleanup to fix more lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Anderson committed Jun 19, 2019
1 parent 5c92822 commit 7e12148
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tasks/docker/con_requirements.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# check system against minimum requirements
- name: Avi Controller | Requirements | Check for docker
shell: "which docker"
command: "which docker"
register: docker
changed_when: false

Expand Down
2 changes: 1 addition & 1 deletion tasks/docker/docker_hub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
register: con_load_docker_hub
changed_when: "'Status: Image is up to date' not in con_load_docker_hub.stdout"
notify: Avi Controller | Services | Restart the avicontroller service
when: con_docker_match.stdout == "" or con_version == "latest"
when: not con_docker_match.stdout or con_version == "latest"
3 changes: 0 additions & 3 deletions tasks/docker/services/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
- name: Avi Controller | Services | systemd | Install the Avi Controller service
include: "systemd/install.yml"
when: ansible_service_mgr == "systemd"
- name: Avi Controller | Services | init.d | Install the Avi Controller service
include: "initd/install.yml"
when: ansible_service_mgr != "systemd"
when: not con_new_service

- block:
Expand Down

0 comments on commit 7e12148

Please sign in to comment.