my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
662 B

3 years ago
  1. # Functions
  2. function ansible-version(){
  3. ansible --version
  4. }
  5. function ansible-role-init(){
  6. if ! [ -z $1 ] ; then
  7. echo "Ansible Role : $1 Creating...."
  8. ansible-galaxy init $1
  9. tree $1
  10. else
  11. echo "Usage : ansible-role-init <role name>"
  12. echo "Example : ansible-role-init role1"
  13. fi
  14. }
  15. # Alias
  16. alias a='ansible '
  17. alias aconf='ansible-config '
  18. alias acon='ansible-console '
  19. alias aver='ansible-version'
  20. alias arinit='ansible-role-init'
  21. alias aplaybook='ansible-playbook '
  22. alias ainv='ansible-inventory '
  23. alias adoc='ansible-doc '
  24. alias agal='ansible-galaxy '
  25. alias apull='ansible-pull '
  26. alias aval='ansible-vault'