mirror of
https://github.com/foo-dogsquared/ansible-playbooks.git
synced 2025-01-31 04:58:10 +00:00
78568ab207
Seems like I misunderstood what tags are for. They're not individual flags for the play, they're commonly used for excluding/including tasks at runtime (e.g., `ansible-playbook $PLAYBOOK --tags $TAGS`). When running a playbook, it will execute all tasks by default. Think of them as attaching a label and letting the user choose from the playbook run. Setting multiple tags at the playbook-level seems to be the best practice as seen from jwflory's Ansible playbooks.
66 lines
1.7 KiB
YAML
66 lines
1.7 KiB
YAML
---
|
|
- name: Add Flatpak remotes
|
|
flatpak_remote:
|
|
state: present
|
|
name: "{{ item.name }}"
|
|
flatpakrepo_url: "{{ item.repo }}"
|
|
loop:
|
|
- name: flathub
|
|
repo: https://flathub.org/repo/flathub.flatpakrepo
|
|
- name: flathub-beta
|
|
repo: https://flathub.org/beta-repo/flathub-beta.flatpakrepo
|
|
- name: gnome-nightly
|
|
repo: https://nightly.gnome.org/gnome-nightly.flatpakrepo
|
|
- name: kdeapps
|
|
repo: https://distribute.kde.org/kdeapps.flatpakrepo
|
|
- name: appcenter
|
|
repo: https://flatpak.elementary.io/repo.flatpakrepo
|
|
|
|
- name: Install applications from 'flathub' Flatpak remote
|
|
flatpak:
|
|
state: present
|
|
name: "{{ item }}"
|
|
remote: flathub
|
|
loop:
|
|
- com.github.gi_lom.dialect
|
|
- com.github.tchx84.Flatseal
|
|
- com.github.wwmm.easyeffects
|
|
- com.obsproject.Studio
|
|
- com.play0ad.zeroad
|
|
- com.remnantsoftheprecursors.ROTP
|
|
- com.usebottles.bottles
|
|
- com.valvesoftware.Steam
|
|
- io.github.lainsce.Emulsion
|
|
- org.blender.Blender
|
|
- org.inkscape.Inkscape
|
|
- org.kde.krita
|
|
- org.musescore.MuseScore
|
|
- org.pipewire.Helvum
|
|
- org.zrythm.Zrythm
|
|
- re.sonny.Junction
|
|
- re.sonny.Tangram
|
|
|
|
- name: Install applications from 'kdeapps' Flatpak remote
|
|
flatpak:
|
|
state: present
|
|
name: "{{ item }}"
|
|
remote: kdeapps
|
|
loop:
|
|
- org.kde.krita-nightly
|
|
|
|
- name: Install applications from 'flathub-beta' Flatpak remote
|
|
flatpak:
|
|
state: present
|
|
name: "{{ item }}"
|
|
remote: flathub-beta
|
|
loop:
|
|
- net.lutris.Lutris
|
|
|
|
- name: Install applications from 'gnome-nightly' Flatpak remote
|
|
flatpak:
|
|
state: present
|
|
name: "{{ item }}"
|
|
remote: gnome-nightly
|
|
loop:
|
|
- org.gimp.GIMP
|