mirror of
https://gitlab.com/sagidayan/linux-config.git
synced 2024-11-17 04:45:26 +00:00
28 lines
682 B
YAML
28 lines
682 B
YAML
- name: Install gitui dependencies (RHEL)
|
|
become: true
|
|
package:
|
|
name: &gitui_deps_rhel
|
|
- perl
|
|
state: present
|
|
when: ansible_facts['os_family'] == "RedHat"
|
|
|
|
- name: Installing gitui
|
|
vars:
|
|
rustup_user: "{{ running_user }}"
|
|
rustup_cargo_crates: [gitui]
|
|
ansible.builtin.include_role:
|
|
name: hurricanehrndz.rustup
|
|
|
|
- name: Setting up ncspot alias (spot)
|
|
ansible.builtin.lineinfile:
|
|
line: alias spot=ncspot
|
|
state: present
|
|
path: ~/.shellconfig/aliases.sh
|
|
insertafter: EOF
|
|
|
|
- name: Remove gitui dependencies (RHEL)
|
|
become: true
|
|
package:
|
|
name: *gitui_deps_rhel
|
|
state: absent
|
|
when: ansible_facts['os_family'] == "RedHat"
|