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/ansible-role-bash-aliases
License
Unknown
Downloads
13238
Owner
Father. Podcaster @selfhostedshow podcast. Tailscalar.