Testing variables.
This commit is contained in:
parent
ed6b5d5fad
commit
6bfecc67bb
@ -1,8 +1,13 @@
|
||||
---
|
||||
# Harmonize my systems rather than doing everything manually. :)
|
||||
|
||||
|
||||
|
||||
- hosts: all
|
||||
connection: local
|
||||
become: true
|
||||
include_vars:
|
||||
dir: vars
|
||||
tasks:
|
||||
- include: tasks/users.yml
|
||||
- include: tasks/cron.yml
|
||||
|
@ -10,6 +10,13 @@
|
||||
method: system
|
||||
flatpakrepo_url: https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
|
||||
- name: Remove packages that may come with an OS but are being installed as Flatpak
|
||||
package:
|
||||
name:
|
||||
- discord[ansible_distribution]
|
||||
- thunderbird[ansible_distribution]
|
||||
state: absent
|
||||
|
||||
- name: Install Discord
|
||||
flatpak:
|
||||
name: com.discordapp.Discord
|
||||
@ -17,3 +24,12 @@
|
||||
- name: Install Shotcut
|
||||
flatpak:
|
||||
name: org.shotcut.Shotcut
|
||||
|
||||
- name: Install Firefox
|
||||
flatpak:
|
||||
name: org.mozilla.firefox
|
||||
|
||||
- name: Install Thunderbird
|
||||
flatpak:
|
||||
name: org.mozilla.Thunderbird
|
||||
|
||||
|
14
vars/package_names.yml
Normal file
14
vars/package_names.yml
Normal file
@ -0,0 +1,14 @@
|
||||
---
|
||||
# Define what the program name is on each OS so we can use package builtin. like this:
|
||||
|
||||
# POP!_OS
|
||||
firefox["Pop!_OS"]: firefox
|
||||
thunderbird["Pop!_OS"]: thunderbird
|
||||
|
||||
# Ubuntu
|
||||
firefox["Ubuntu"]: firefox
|
||||
thunderbird["Ubuntu"]: thunderbird
|
||||
|
||||
# FreeBSD
|
||||
firefox["FreeBSD"]: firefox
|
||||
thunderbird["FreeBSD"]: thunderbird
|
Loading…
x
Reference in New Issue
Block a user