Skip to content
Snippets Groups Projects
Commit 3827a329 authored by Simon Michnowicz's avatar Simon Michnowicz
Browse files

converted "command" to "shell" so that "sleep ; ,," will work

parent ccddee16
No related branches found
No related tags found
No related merge requests found
---
- include_vars: mellanoxVars.yml
- name: yum install dependencies
yum: name=perl,pciutils,gtk2,atk,cairo,gcc-gfortran,libxml2-python,tcsh,libnl,lsof,tcl,tk
sudo: true
......@@ -105,9 +104,9 @@
# A REBOOT IS NEEDED AFTER SUCCESSFUL INSTALL
#
- name: restart machine
command: "sleep 5; sudo shutdown -r now"
shell: "sleep 5; sudo shutdown -r now"
async: 2
poll: 0
poll: 1
ignore_errors: true
sudo: true
when: ansible_os_family=="RedHat" and drivers_installed|failed
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment