@installdoc/ansible-gas-station
Version:
An Ansible playbook that provisions your network with software from GitHub Awesome lists, developed with disaster recovery in mind ⛽🔥🤤
21 lines (19 loc) • 548 B
YAML
- name: Ensure Bash completions is setup
become_user: "{{ user.username }}"
lineinfile:
path: ~/.xonshrc
regex: "$BASH_COMPLETIONS.append('{{ gitsome_dir }}/gh_complete.sh')"
line: "$BASH_COMPLETIONS.append('{{ gitsome_dir }}/gh_complete.sh')"
create: true
mode: 0700
- name: Ensure Zsh completions is setup
become_user: "{{ user.username }}"
blockinfile:
path: ~/.xonshrc
block: |
autoload bashcompinit
bashcompinit
source {{ gitsome_dir }}/gh_complete.sh
create: true
mode: 0700