From 2bf2676ec1c3b4d4d4ecd3729d21733638c21e6a Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Mon, 12 Oct 2015 15:01:49 +0300
Subject: [PATCH] Add alias ansible-local to run ansible locally.

---
 .bashrc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.bashrc b/.bashrc
index e1428d5..9f698ab 100644
--- a/.bashrc
+++ b/.bashrc
@@ -113,6 +113,7 @@ alias ansible-vagrant='ansible-playbook Ansible/vagrant.yml -s -i \
 .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory \
 --private-key=$HOME/.vagrant.d/insecure_private_key -u vagrant -e "state=\
 dev"'
+alias ansible-local='ansible localhost -c local -i localhost,'
 alias backup='cat Documents/Backup\ list.yml | \
 Documents/yaml2duplicity_include_list.py | duplicity --exclude $HOME \
 --include-filelist-stdin $HOME file:///media/nimrod/backup'
-- 
GitLab