added remaining package groups and flatpak role
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
---
|
||||
galaxy_info:
|
||||
author: cjr
|
||||
description: Install Flatpak and some needed Flatpak applications
|
||||
license: BSD-3-Clause
|
||||
min_ansible_version: "2.1"
|
||||
@@ -0,0 +1,22 @@
|
||||
---
|
||||
- name: Install flatpak
|
||||
community.general.pacman:
|
||||
name: flatpak
|
||||
state: present
|
||||
|
||||
- name: Install wanted flatpak packages
|
||||
community.general.flatpak:
|
||||
name: "{{ flatpak_apps }}"
|
||||
state: present
|
||||
|
||||
- name: Check MakeMKV flatpak permissions
|
||||
ansible.builtin.command:
|
||||
cmd: flatpak info --show-permissions com.makemkv.MakeMKV
|
||||
register: flatpak_makemkv_permissions
|
||||
changed_when: false
|
||||
|
||||
- name: Grant MakeMKV access to optical drives
|
||||
ansible.builtin.command:
|
||||
cmd: flatpak override --device=all com.makemkv.MakeMKV
|
||||
when: "'--device=all' not in flatpak_makemkv_permissions.stdout"
|
||||
changed_when: true
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
flatpak_apps:
|
||||
- com.google.Chrome
|
||||
- com.makemkv.MakeMKV
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
galaxy_info:
|
||||
author: cjr
|
||||
description: Install and configure virtualization tools
|
||||
license: BSD-3-Clause
|
||||
min_ansible_version: "2.1"
|
||||
@@ -0,0 +1,20 @@
|
||||
---
|
||||
- name: Install virtualization packages
|
||||
community.general.pacman:
|
||||
name:
|
||||
- qemu-full
|
||||
- virt-manager
|
||||
- cloud-image-utils
|
||||
state: present
|
||||
|
||||
- name: Enable libvirtd service
|
||||
ansible.builtin.service:
|
||||
name: libvirtd
|
||||
state: started
|
||||
enabled: true
|
||||
|
||||
- name: Add user to libvirt group
|
||||
ansible.builtin.user:
|
||||
name: "{{ ansible_user_id }}"
|
||||
groups: libvirt
|
||||
append: true
|
||||
@@ -0,0 +1,6 @@
|
||||
---
|
||||
galaxy_info:
|
||||
author: cjr
|
||||
description: Install web and hosting tools
|
||||
license: BSD-3-Clause
|
||||
min_ansible_version: "2.1"
|
||||
@@ -0,0 +1,8 @@
|
||||
---
|
||||
- name: Install web tools
|
||||
community.general.pacman:
|
||||
name:
|
||||
- hcloud
|
||||
- hugo
|
||||
- tea
|
||||
state: present
|
||||
Reference in New Issue
Block a user