Create some sample bash functions to act as shortcuts for the ansible scripts.
Possibly add in some sensible bash aliases (such as ll).
Source that file automatically using the setup script?
Example:
vagrant-site-create() {
local DOMAIN=$1
shift
ansible-playbook -i $HOME/vagrant-lamp/ansible/hosts -l vagrant -e "domain=$DOMAIN" $HOME/vagrant-lamp/ansible/site-create.yml $@
}
Create some sample bash functions to act as shortcuts for the ansible scripts.
Possibly add in some sensible bash aliases (such as
ll).Source that file automatically using the setup script?
Example: