Skip to content

Commit

Permalink
Add a chkconfig task to check_dependencies role
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya White committed Jan 9, 2018
1 parent 9f3210a commit 65e00fe
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions roles/check_dependencies/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,15 @@
set_fact:
internal_have_systemctl: "{{ internal_have_systemctl.rc == 0 }}"

- name: gather internal_have_chkconfig
raw: command -v chkconfig
register: internal_have_chkconfig
ignore_errors: yes

- name: set internal_have_chkconfig
set_fact:
internal_have_chkconfig: "{{ internal_have_chkconfig.rc == 0 }}"

- name: gather internal_have_ifconfig_cmd
raw: command -v ifconfig
register: internal_have_ifconfig_cmd
Expand Down

0 comments on commit 65e00fe

Please sign in to comment.