IronicBadger.bash_aliases
Ansible Role: Bash aliases
An Ansible role to configure Bash aliases. This role supports variable in aliases, like git log "$(pwd)".
Using the role
Installation
ansible-galaxy install ferrarimarco.bash-aliases
Example Playbook
- hosts: all
roles:
- { ferrarimarco.bash-aliases, become: yes }
bashalias_aliases:
- { alias: "ll", command: "ls -hl" }
- { alias: "la", command: "ls -hal" }
- { alias: "git-log", command: 'git log "$(pwd)"' }
Testing the role
Dependencies
- Bundler, 1.13.0+
- Ruby, 2.3.0+
- Docker, 1.13.0+
Setup
- Install Bundler:
gem install bundler - Install required gems from inside the root of the project:
bundle install - Run
kitchen test
Install
ansible-galaxy install IronicBadger.bash_aliasesLicense
Unknown
Downloads
13.7k
Owner
I do stuff with computers and sometimes it works.
