split out arm64 binaries and drop unused flatpaks

This commit is contained in:
Morgan McMillian 2024-08-14 18:58:07 -07:00
parent 8c659a07b7
commit 333fa9744a
2 changed files with 19 additions and 41 deletions

12
fedora-atomic/aarch64.yml Normal file
View file

@ -0,0 +1,12 @@
---
- name: Install Starship
ansible.builtin.copy:
src: "{{ home_dir }}/Sync/bin/starship-aarch64"
dest: "{{ home_dir }}/bin/starship"
mode: "0755"
- name: Install Protonmail Bridge
ansible.builtin.copy:
src: "{{ home_dir }}/Sync/bin/bridge-aarch64"
dest: "{{ home_dir }}/bin/bridge"
mode: "0755"

View file

@ -9,18 +9,18 @@
dotfiles_config_dir: "{{ ansible_facts['env']['HOME'] }}/dotfiles/.config" dotfiles_config_dir: "{{ ansible_facts['env']['HOME'] }}/dotfiles/.config"
tasks: tasks:
# - name: SHow facts
# ansible.builtin.debug:
# var: ansible_facts
- name: Install Flatpaks from Flathub - name: Install Flatpaks from Flathub
community.general.flatpak: community.general.flatpak:
name: name:
- io.gitlab.librewolf-community
- org.gajim.Gajim - org.gajim.Gajim
- org.gajim.Gajim.Plugin.openpgp
- org.gtk.Gtk3theme.Breeze - org.gtk.Gtk3theme.Breeze
- org.telegram.desktop - org.telegram.desktop
- io.crow_translate.CrowTranslate - io.crow_translate.CrowTranslate
- im.dino.Dino - im.dino.Dino
- org.libreoffice.LibreOffice - org.libreoffice.LibreOffice
- im.kaidan.kaidan
- im.pidgin.Pidgin - im.pidgin.Pidgin
- org.kde.gwenview - org.kde.gwenview
- org.kde.okular - org.kde.okular
@ -32,32 +32,6 @@
remote: flathub remote: flathub
become: true become: true
- name: Install Flatpaks from Fedora
community.general.flatpak:
name:
- org.mozilla.Thunderbird
state: present
remote: fedora
become: true
- name: Setup h directory
ansible.builtin.file:
path: "{{ home_dir }}/h"
state: directory
mode: "0755"
- name: Setup sublime-text config directory
ansible.builtin.file:
path: "{{ config_dir }}/sublime-text"
state: directory
mode: "0755"
- name: Setup sublime-merge config directory
ansible.builtin.file:
path: "{{ config_dir }}/sublime-merge"
state: directory
mode: "0755"
- name: Setup bin directory - name: Setup bin directory
ansible.builtin.file: ansible.builtin.file:
path: "{{ home_dir }}/bin" path: "{{ home_dir }}/bin"
@ -94,18 +68,6 @@
dest: "{{ home_dir }}/bin/p" dest: "{{ home_dir }}/bin/p"
state: link state: link
- name: Install Starship
ansible.builtin.copy:
src: "{{ home_dir }}/Sync/bin/starship-aarch64"
dest: "{{ home_dir }}/bin/starship"
mode: "0755"
- name: Install Protonmail Bridge
ansible.builtin.copy:
src: "{{ home_dir }}/Sync/bin/bridge-aarch64"
dest: "{{ home_dir }}/bin/bridge"
mode: "0755"
- name: Link msmtp config - name: Link msmtp config
ansible.builtin.file: ansible.builtin.file:
src: "{{ home_dir }}/Sync/.msmtprc" src: "{{ home_dir }}/Sync/.msmtprc"
@ -123,3 +85,7 @@
src: "{{ home_dir }}/dotfiles/.mailcap" src: "{{ home_dir }}/dotfiles/.mailcap"
dest: "{{ home_dir }}/.mailcap" dest: "{{ home_dir }}/.mailcap"
state: link state: link
- name: Tasks for aarch64 system
ansible.builtin.include_tasks: aarch64.yml
when: ansible_facts['architecture'] == "aarch64"