tune up astronvim
This commit is contained in:
parent
d686961cd7
commit
f26d34ff58
7 changed files with 106 additions and 32 deletions
|
|
@ -1,5 +1,5 @@
|
|||
- name: Install Debian packages
|
||||
package:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- qalculate-gtk
|
||||
- rofi-dev
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
- name: Install os-agnostic packages
|
||||
become: yes
|
||||
become: true
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- git
|
||||
|
|
@ -12,22 +12,23 @@
|
|||
state: present
|
||||
|
||||
- name: Install Debian packages
|
||||
become: yes
|
||||
become: true
|
||||
when: ansible_os_family == "Debian"
|
||||
import_tasks: debian.yml
|
||||
ansible.builtin.import_tasks: debian.yml
|
||||
|
||||
- name: Install RHEL packages
|
||||
become: yes
|
||||
become: true
|
||||
when: ansible_os_family in ["RedHat", "Nobara"]
|
||||
import_tasks: rhel.yaml
|
||||
ansible.builtin.import_tasks: rhel.yaml
|
||||
tags:
|
||||
- rhel
|
||||
|
||||
- name: Install Rust packages
|
||||
import_tasks: rust.yml
|
||||
ansible.builtin.import_tasks: rust.yml
|
||||
tags:
|
||||
- rust
|
||||
|
||||
- name: Install Python packages
|
||||
import_tasks: python.yml
|
||||
ansible.builtin.import_tasks: python.yml
|
||||
tags:
|
||||
- python
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
---
|
||||
- name: Install RHEL packages
|
||||
package:
|
||||
name:
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- rofi-devel
|
||||
- qalculate
|
||||
- automake
|
||||
- libtool
|
||||
- cheat
|
||||
- gcc-c++
|
||||
- neovim
|
||||
- python3-neovim
|
||||
state: present
|
||||
|
||||
|
|
|
|||
|
|
@ -1,25 +1,25 @@
|
|||
---
|
||||
# rust install, shamelessly stolen from https://waylonwalker.com/install-rust/
|
||||
- name: Check if cargo is installed
|
||||
shell: ls ~/.cargo
|
||||
ansible.builtin.command: ls ~/.cargo
|
||||
register: cargo_exists
|
||||
ignore_errors: yes
|
||||
ignore_errors: true
|
||||
|
||||
- name: Download rust installer
|
||||
when: cargo_exists is failed
|
||||
get_url:
|
||||
ansible.builtin.get_url:
|
||||
url: https://sh.rustup.rs
|
||||
dest: /tmp/sh.rustup.rs
|
||||
mode: '0755'
|
||||
force: 'yes'
|
||||
mode: "0755"
|
||||
force: "yes"
|
||||
|
||||
- name: Install rust and cargo
|
||||
when: cargo_exists is failed
|
||||
shell: /tmp/sh.rustup.rs -y
|
||||
|
||||
ansible.builtin.command: /tmp/sh.rustup.rs -y
|
||||
|
||||
- name: Install cargo packages
|
||||
community.general.cargo:
|
||||
name:
|
||||
name:
|
||||
- git-delta
|
||||
- dotter
|
||||
- bottom
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue