Update 'jumpcloud.yaml'

master
Ariel Antigua 2018-09-06 21:52:10 -04:00
parent 119bfef1d1
commit 4771c5a891
1 changed files with 3 additions and 3 deletions

View File

@ -6,9 +6,9 @@
action: apt pkg='curl' state=installed action: apt pkg='curl' state=installed
when: "'$ansible_pkg_mgr' == 'apt'" when: "'$ansible_pkg_mgr' == 'apt'"
- name: Install curl package (RedHat based) - name: Install curl package (Debian based)
action: yum name='curl' state=installed action: apt pkg='ntpdate' state=installed
when: "'$ansible_pkg_mgr' == 'yum'" when: "'$ansible_pkg_mgr' == 'apt'"
- name: Check if JumpCloud is already installed - name: Check if JumpCloud is already installed
shell: "[ -d /opt/jc ] && echo 'Found' || echo ''" shell: "[ -d /opt/jc ] && echo 'Found' || echo ''"