bash_aliases

Ansible Role: Bash aliases

  • Development branch: Build Status
  • Master branch: Build Status

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

  1. Install Bundler: gem install bundler
  2. Install required gems from inside the root of the project: bundle install
  3. Run kitchen test
Install
ansible-galaxy install IronicBadger/ansible-role-bash-aliases
GitHub repository
License
Unknown
Downloads
13231
Owner
Father. Podcaster @selfhostedshow podcast. Tailscalar.