mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Merged client playbook and server playbook
This commit is contained in:
3
roles/pc_system-gnome/Readme.md
Normal file
3
roles/pc_system-gnome/Readme.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# system-gnome
|
||||
## further information
|
||||
- https://askubuntu.com/questions/1029376/how-do-i-enable-and-disable-gnome-extensions-from-the-command-line
|
3
roles/pc_system-gnome/meta/main.yml
Normal file
3
roles/pc_system-gnome/meta/main.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- application-git
|
||||
- application-caffeine
|
27
roles/pc_system-gnome/tasks/main.yml
Normal file
27
roles/pc_system-gnome/tasks/main.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
- name: Install Gnome Software
|
||||
community.general.pacman:
|
||||
name:
|
||||
- gnome-shell-extensions
|
||||
- gnome-shell-extension-desktop-icons-ng
|
||||
- gnome-terminal
|
||||
state: present
|
||||
|
||||
- name: GNOME Activate Extensions
|
||||
ansible.builtin.shell: gsettings set org.gnome.shell disable-user-extensions false
|
||||
become: false
|
||||
|
||||
- name: GNOME Set favorite apps
|
||||
ansible.builtin.shell: gsettings set org.gnome.shell favorite-apps "{{favorite_apps}}"
|
||||
become: false
|
||||
|
||||
- name: pull CLI GNOME Extension manager script
|
||||
git:
|
||||
repo: "git@github.com:kevinveenbirkenbach/cli-gnome-extension-manager.git"
|
||||
dest: "$HOME/Repositories/github.com/kevinveenbirkenbach/cli-gnome-extension-manager"
|
||||
update: yes
|
||||
become: false
|
||||
|
||||
- name: Execute CLI GNOME Extension manager script
|
||||
ansible.builtin.shell: bash "/home/{{client_username}}/Repositories/github.com/kevinveenbirkenbach/cli-gnome-extension-manager/gnome-extension-manager.sh" "{{ item[0] }}" "{{ item[1] }}" "{{ item[2] }}"
|
||||
loop: "{{gnome_extensions}}"
|
||||
become: false
|
Reference in New Issue
Block a user