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: run.sh -> local.sh
pull/1/head
10sr
10 years ago
parent
9712983581
commit
13deb987c9
2 changed files
with
8 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
ansible/local.hosts
+7
-1
ansible/local.sh
ansible/hosts → ansible/local.hosts
View File
@@ -1 +1 @@
localhost ansible_connection=local ansible_python_interpreter=/usr/bin/python2
package_manager=pacman
localhost ansible_connection=local ansible_python_interpreter=/usr/bin/python2
ansible/run.sh → ansible/local.sh
View File
@@ -8,4 +8,10 @@ then
exit 1
fi
ansible-playbook -i hosts --ask-sudo-pass "$@"
if test $# -eq 0
then
echo "usage: $0 <playbook> [...]"
exit 1
fi
ansible-playbook -i local.hosts --ask-sudo-pass "$@"
Write
Preview
Loading…
Cancel
Save