This website works better with JavaScript.
Home
Explore
Help
Sign In
10sr
/
dotfiles-mirror
mirror of
https://github.com/10sr/dotfiles.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
ansible: check if ansible is installed
pull/1/head
10sr
10 years ago
parent
4054abafb4
commit
b339377511
1 changed files
with
8 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+8
-0
ansible/run.sh
+ 8
- 0
ansible/run.sh
View File
@@ -1,3 +1,11 @@
#!/bin/sh
set -e
if ! command -v ansible-playbook >/dev/null
then
echo 'Command not found: ansible-playbook'
echo 'Install ansible first.'
exit 1
fi
ansible-playbook -i hosts ansible.yml --ask-sudo-pass
Write
Preview
Loading…
Cancel
Save