mirror of
https://gitlab.com/sagidayan/linux-config.git
synced 2024-11-21 14:55:26 +00:00
Added flatpak role to install software
This commit is contained in:
parent
6876d84340
commit
3e250fd12b
22 changed files with 32 additions and 3 deletions
|
@ -10,7 +10,7 @@ Run Workstation playbook on fedora:
|
||||||
- dnf install -y ansible python3-pip
|
- dnf install -y ansible python3-pip
|
||||||
- pip3 install -r ci-requirements.txt
|
- pip3 install -r ci-requirements.txt
|
||||||
- mkdir /tmp/artifacts
|
- mkdir /tmp/artifacts
|
||||||
- ANSIBLE_CONFIG=$(pwd)/ansible.cfg JUNIT_OUTPUT_DIR=/tmp/artifacts ansible-playbook workstation.yml || (mv /tmp/artifacts/workstation-*.xml report.xml && exit 1)
|
- bash play_workstation.sh
|
||||||
- cp /tmp/artifacts/workstation-*.xml report.xml
|
- cp /tmp/artifacts/workstation-*.xml report.xml
|
||||||
- ls /tmp/artifacts
|
- ls /tmp/artifacts
|
||||||
artifacts:
|
artifacts:
|
||||||
|
@ -26,7 +26,7 @@ Run Workstation playbook on ubuntu:
|
||||||
- apt-get install -y ansible python3-pip python3-apt
|
- apt-get install -y ansible python3-pip python3-apt
|
||||||
- pip3 install -r ci-requirements.txt
|
- pip3 install -r ci-requirements.txt
|
||||||
- mkdir /tmp/artifacts
|
- mkdir /tmp/artifacts
|
||||||
- ANSIBLE_CONFIG=$(pwd)/ansible.cfg JUNIT_OUTPUT_DIR=/tmp/artifacts ansible-playbook workstation.yml || (mv /tmp/artifacts/workstation-*.xml report.xml && exit 1)
|
- bash play_workstation.sh
|
||||||
- mv /tmp/artifacts/workstation-*.xml report.xml
|
- mv /tmp/artifacts/workstation-*.xml report.xml
|
||||||
- ls /tmp/artifacts
|
- ls /tmp/artifacts
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
5
play_workstation.sh
Normal file
5
play_workstation.sh
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Install Dependencies
|
||||||
|
ansible-galaxy collection install community.general
|
||||||
|
|
||||||
|
# Run Playbook
|
||||||
|
ANSIBLE_CONFIG=$(pwd)/ansible.cfg JUNIT_OUTPUT_DIR=/tmp/artifacts ansible-playbook playbooks/workstation.yml || (mv /tmp/artifacts/workstation-*.xml report.xml && exit 1)
|
0
playbooks/roles/.empty
Normal file
0
playbooks/roles/.empty
Normal file
|
@ -6,7 +6,8 @@
|
||||||
- bat
|
- bat
|
||||||
- wget
|
- wget
|
||||||
- git
|
- git
|
||||||
# - podman
|
- podman
|
||||||
|
- flatpak
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Copy gitconfig base
|
- name: Copy gitconfig base
|
22
playbooks/roles/flatpaks/tasks/main.yml
Normal file
22
playbooks/roles/flatpaks/tasks/main.yml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
---
|
||||||
|
- name: Add the flathub flatpak repository remote
|
||||||
|
community.general.flatpak_remote:
|
||||||
|
name: flathub
|
||||||
|
state: present
|
||||||
|
flatpakrepo_url: https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||||
|
|
||||||
|
- name: Install multiple packages
|
||||||
|
community.general.flatpak:
|
||||||
|
name:
|
||||||
|
- org.gimp.GIMP
|
||||||
|
- org.telegram.desktop
|
||||||
|
- net.christianbeier.Gromit-MPX
|
||||||
|
- md.obsidian.Obsidian
|
||||||
|
- com.bitwarden.desktop
|
||||||
|
- com.github.tchx84.Flatseal
|
||||||
|
- com.github.alexr4535.siglo
|
||||||
|
- com.nextcloud.desktopclient.nextcloud
|
||||||
|
- com.github.unrud.VideoDownloader
|
||||||
|
- fyi.zoey.Boop-GTK
|
||||||
|
- nl.hjdskes.gcolor3
|
||||||
|
state: present
|
|
@ -9,3 +9,4 @@
|
||||||
- vim_user
|
- vim_user
|
||||||
- alacritty_user
|
- alacritty_user
|
||||||
- lsd_user
|
- lsd_user
|
||||||
|
- flatpaks
|
Loading…
Reference in a new issue