update
This commit is contained in:
parent
221669814f
commit
acb624c20a
10 changed files with 39 additions and 8 deletions
|
|
@ -1 +1 @@
|
|||
true
|
||||
false
|
||||
|
|
@ -1 +1 @@
|
|||
Some(900000)
|
||||
None
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
Terminal: "kitty",
|
||||
Terminal: "cosmic-term",
|
||||
}
|
||||
|
|
@ -83,9 +83,9 @@ goland-new() {
|
|||
if [[ $dir == *'dotnet'* ]]; then
|
||||
/home/user/.local/share/JetBrains/Toolbox/apps/rider/bin/rider $dir &
|
||||
elif [[ $dir == *'go'* ]]; then
|
||||
/home/user/.local/share/JetBrains/Toolbox/apps/goland/bin/goland $dir &
|
||||
/home/user/.local/share/JetBrains/Toolbox/scripts/goland $dir &
|
||||
elif [[ $dir == *'devops'* ]]; then
|
||||
/home/user/.local/share/JetBrains/Toolbox/apps/goland/bin/goland $dir &
|
||||
/home/user/.local/share/JetBrains/Toolbox/scripts/goland $dir &
|
||||
fi
|
||||
#sleep 1 && /home/user/.local/share/JetBrains/Toolbox/apps/goland/bin/goland $dir &
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@ Host *
|
|||
# ForwardAgent yes
|
||||
|
||||
host 192.168.20.253
|
||||
SetEnv TERM=xterm-256color
|
||||
SetEnv TERM=xterm-256color
|
||||
3
Makefile
3
Makefile
|
|
@ -4,5 +4,8 @@ export
|
|||
run:
|
||||
ansible-playbook ./ansible/local.yml -K
|
||||
|
||||
update:
|
||||
ansible-playbook ./ansible/update.yml -K
|
||||
|
||||
devpod:
|
||||
ansible-playbook ./ansible/devpod.yml
|
||||
|
|
|
|||
|
|
@ -44,7 +44,6 @@ required_packages_pacman:
|
|||
- curl
|
||||
- nmap
|
||||
- kubectl
|
||||
#- terraform
|
||||
- podman
|
||||
- grim
|
||||
- slurp
|
||||
|
|
@ -142,7 +141,6 @@ required_packages_flatpak:
|
|||
- io.gitlab.librewolf-community
|
||||
- org.videolan.VLC
|
||||
- fr.handbrake.ghb
|
||||
- app.zen_browser.zen
|
||||
|
||||
systemd_service:
|
||||
- cronie.service
|
||||
|
|
@ -166,6 +164,7 @@ go_apps:
|
|||
- github.com/a-h/templ/cmd/templ@latest
|
||||
- github.com/segmentio/golines@latest
|
||||
- github.com/templui/templui/cmd/templui@latest
|
||||
- github.com/go-delve/delve/cmd/dlv@latest
|
||||
|
||||
yay:
|
||||
- nwg-look
|
||||
|
|
|
|||
24
ansible/roles/update/tasks/main.yml
Normal file
24
ansible/roles/update/tasks/main.yml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
- name: Update Pacman
|
||||
community.general.pacman:
|
||||
update_cache: true
|
||||
upgrade: true
|
||||
|
||||
- name: Update Homebrew and Apps
|
||||
become_user: user
|
||||
community.general.homebrew:
|
||||
update_homebrew: true
|
||||
upgrade_all: true
|
||||
|
||||
- name: Get list of installed Flatpak packages
|
||||
ansible.builtin.command: flatpak list --app --columns=application
|
||||
register: flatpak_list
|
||||
changed_when: false
|
||||
|
||||
- name: Remove header line from flatpak_list
|
||||
set_fact:
|
||||
flatpak_list: "{{ flatpak_list.stdout_lines[1:] }}"
|
||||
|
||||
- name: Update Flatpak packages
|
||||
community.general.flatpak:
|
||||
name: "{{ flatpak_list }}"
|
||||
state: latest
|
||||
0
ansible/roles/update/vars/ArchLinux.yml.yml
Normal file
0
ansible/roles/update/vars/ArchLinux.yml.yml
Normal file
5
ansible/update.yml
Normal file
5
ansible/update.yml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
- hosts: localhost
|
||||
connection: local
|
||||
become: true
|
||||
roles:
|
||||
- update
|
||||
Loading…
Add table
Add a link
Reference in a new issue