mirror of
https://gitlab.com/sagidayan/linux-config.git
synced 2024-12-23 06:29:53 +00:00
Compare commits
2 commits
b67b883c05
...
7ede21e362
Author | SHA1 | Date | |
---|---|---|---|
7ede21e362 | |||
bada246014 |
2 changed files with 21 additions and 3 deletions
|
@ -19,4 +19,19 @@
|
||||||
- com.github.unrud.VideoDownloader
|
- com.github.unrud.VideoDownloader
|
||||||
- fyi.zoey.Boop-GTK
|
- fyi.zoey.Boop-GTK
|
||||||
- nl.hjdskes.gcolor3
|
- nl.hjdskes.gcolor3
|
||||||
|
- re.sonny.Junction
|
||||||
|
- org.gnome.DejaDup
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
- name: Check if open function is set
|
||||||
|
shell: grep -c "^function open" ~/.shellconfig/functions.sh || true
|
||||||
|
register: open_test
|
||||||
|
|
||||||
|
- name: "Adding 'open' shell function"
|
||||||
|
ansible.builtin.lineinfile:
|
||||||
|
name: ~/.shellconfig/functions.sh
|
||||||
|
line: |
|
||||||
|
# Open files from CLI via Junction flatpak
|
||||||
|
function open() { if [[ -f $@ || -d $@ ]]; then flatpak run re.sonny.Junction $@ &>/dev/null; else echo "❌No such file or directory '$@'"; false; fi}
|
||||||
|
state: present
|
||||||
|
when: open_test.stdout|int == 0
|
||||||
|
|
|
@ -1,14 +1,17 @@
|
||||||
- name: Install vim (RHEL based)
|
- name: Install vim (RHEL based)
|
||||||
become: true
|
become: true
|
||||||
package:
|
package:
|
||||||
name: vim-X11
|
name:
|
||||||
state: present
|
- vim-X11
|
||||||
|
- vim-common
|
||||||
|
- vim-minimal
|
||||||
|
state: latest
|
||||||
when: ansible_facts['os_family'] == "RedHat"
|
when: ansible_facts['os_family'] == "RedHat"
|
||||||
|
|
||||||
- name: Install vim (Debian based)
|
- name: Install vim (Debian based)
|
||||||
become: true
|
become: true
|
||||||
package:
|
package:
|
||||||
name: vim-gnome
|
name: vim-gtk
|
||||||
state: present
|
state: present
|
||||||
when: ansible_facts['os_family'] == "Debian"
|
when: ansible_facts['os_family'] == "Debian"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue