This commit is contained in:
2022-11-02 18:42:56 -05:00
parent 034ac740b2
commit 623b3600f0
3 changed files with 29 additions and 29 deletions

View File

@@ -5,6 +5,21 @@
owner: root
group: root
- name: download s76 gnome extension
ansible.builtin.git:
repo: https://github.com/pop-os/gnome-shell-extension-system76-power.git
dest: /tmp/s76-power
single_branch: yes
- name: Build s76 gnome extension
community.general.make:
chdir: /tmp/s76-power
- name: Run 'install' s76 gnome extension
community.general.make:
chdir: /tmp/s76-power
target: install
- name: set gnome config
become_user: user
dconf:
@@ -92,30 +107,4 @@
dest: "~/.config/{{ item.dest }}/{{ item.destname }}"
owner: "user"
force: yes
with_items: "{{ configs }}"
- name: Add user to adm group
ansible.builtin.user:
name: user
groups: adm
append: yes
- name: Mask power profiles
ansible.builtin.systemd:
masked: yes
name: power-profiles-daemon
- name: download s76 gnome extension
ansible.builtin.git:
repo: https://github.com/pop-os/gnome-shell-extension-system76-power.git
dest: /tmp/s76-power
single_branch: yes
- name: Build s76 gnome extension
community.general.make:
chdir: /tmp/s76-power
- name: Run 'install' s76 gnome extension
community.general.make:
chdir: /tmp/s76-power
target: install
with_items: "{{ configs }}"