Compare commits
2 Commits
c4ac91f163
...
cf041f9747
Author | SHA1 | Date | |
---|---|---|---|
cf041f9747 | |||
66e7d9dc76 |
@ -4,6 +4,8 @@
|
|||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
roles:
|
roles:
|
||||||
- role: cider
|
- role: cider
|
||||||
|
- role: gnome-tweaks
|
||||||
|
when: "'GNOME' in ansible_env.XDG_CURRENT_DESKTOP and"
|
||||||
- role: kitty
|
- role: kitty
|
||||||
- role: xremap
|
- role: xremap
|
||||||
when: >
|
when: >
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
---
|
---
|
||||||
|
- hosts: localhost
|
||||||
|
roles:
|
||||||
|
- role: rpmfusion
|
||||||
|
when: ansible_os_family == 'RedHat' and ansible_distribution == 'Fedora'
|
||||||
- import_playbook: UnixCLI.yaml
|
- import_playbook: UnixCLI.yaml
|
||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
roles:
|
roles:
|
||||||
|
9
roles/gnome-tweaks/tasks/main.yaml
Normal file
9
roles/gnome-tweaks/tasks/main.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
- assert:
|
||||||
|
that: "'GNOME' in ansible_env.XDG_CURRENT_DESKTOP"
|
||||||
|
|
||||||
|
- name: install gnome-tweaks
|
||||||
|
become: true
|
||||||
|
package:
|
||||||
|
name: gnome-tweaks
|
||||||
|
state: latest
|
31
roles/rpmfusion/tasks/main.yaml
Normal file
31
roles/rpmfusion/tasks/main.yaml
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
---
|
||||||
|
- assert:
|
||||||
|
that: ansible_os_family == 'RedHat' and ansible_distribution == 'Fedora'
|
||||||
|
|
||||||
|
- name: install rpm fusion free gpg key
|
||||||
|
become: true
|
||||||
|
rpm_key:
|
||||||
|
key: 'https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-free-fedora-2020'
|
||||||
|
state: present
|
||||||
|
|
||||||
|
- name: install rpmfusion free repository
|
||||||
|
become: true
|
||||||
|
dnf:
|
||||||
|
name:
|
||||||
|
'https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-{{ansible_distribution_major_version}}.noarch.rpm'
|
||||||
|
state: present
|
||||||
|
validate_certs: no
|
||||||
|
|
||||||
|
- name: install rpmfusion non-free gpg key
|
||||||
|
become: true
|
||||||
|
rpm_key:
|
||||||
|
key: 'https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-nonfree-fedora-2020'
|
||||||
|
state: present
|
||||||
|
|
||||||
|
- name: install rpmfusion non-free repository
|
||||||
|
become: true
|
||||||
|
dnf:
|
||||||
|
name:
|
||||||
|
'https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ansible_distribution_major_version}}.noarch.rpm'
|
||||||
|
state: present
|
||||||
|
validate_certs: no
|
Loading…
x
Reference in New Issue
Block a user