Testing variables.
This commit is contained in:
parent
ed6b5d5fad
commit
6bfecc67bb
3
hosts
3
hosts
@ -1,3 +1,6 @@
|
|||||||
[workstation]
|
[workstation]
|
||||||
x570
|
x570
|
||||||
dell
|
dell
|
||||||
|
|
||||||
|
[dad]
|
||||||
|
not_installed_yet
|
@ -1,8 +1,13 @@
|
|||||||
---
|
---
|
||||||
# Harmonize my systems rather than doing everything manually. :)
|
# Harmonize my systems rather than doing everything manually. :)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- hosts: all
|
- hosts: all
|
||||||
connection: local
|
connection: local
|
||||||
become: true
|
become: true
|
||||||
|
include_vars:
|
||||||
|
dir: vars
|
||||||
tasks:
|
tasks:
|
||||||
- include: tasks/users.yml
|
- include: tasks/users.yml
|
||||||
- include: tasks/cron.yml
|
- include: tasks/cron.yml
|
||||||
|
@ -10,6 +10,13 @@
|
|||||||
method: system
|
method: system
|
||||||
flatpakrepo_url: https://dl.flathub.org/repo/flathub.flatpakrepo
|
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
|
- name: Install Discord
|
||||||
flatpak:
|
flatpak:
|
||||||
name: com.discordapp.Discord
|
name: com.discordapp.Discord
|
||||||
@ -17,3 +24,12 @@
|
|||||||
- name: Install Shotcut
|
- name: Install Shotcut
|
||||||
flatpak:
|
flatpak:
|
||||||
name: org.shotcut.Shotcut
|
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