Fixed readme and some plays
This commit is contained in:
@@ -13,6 +13,13 @@ To install dependancies:
|
||||
|
||||
Edit the "all" file in ./ansible-fedora/group_vars to customize the setup
|
||||
|
||||
In order to easily use ansible, ssh keys are strongly recommended.
|
||||
|
||||
In order to generate an ssh key and add it to the authorized_keys file on your user, run the following commands and follow the prompts.
|
||||
Passwords are recommended on all ssh keys
|
||||
|
||||
ssh-keygen -t ed25519
|
||||
ssh-copy-id -i ~/.ssh/id_ed25519.pub localhost
|
||||
|
||||
Run the playbook
|
||||
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
release_ver: "41"
|
||||
core_ver: "fc41"
|
||||
|
||||
username: "" #MY SUDO USER HERE
|
||||
|
||||
dnf_packages:
|
||||
### List of DNF packages to install
|
||||
dnf_installs:
|
||||
- rhythmbox
|
||||
- terminator
|
||||
- git
|
||||
@@ -15,11 +14,20 @@ dnf_packages:
|
||||
- flatpak
|
||||
- util-linux-user
|
||||
- curl
|
||||
- wget
|
||||
- zsh
|
||||
|
||||
### List of DNF packages to remove (we remove firefox to avoid duplicates as we install the flatpak)
|
||||
dnf_removes:
|
||||
- firefox
|
||||
|
||||
|
||||
### Flatpak sources to install
|
||||
flatpak_remotes:
|
||||
- { name: "flathub", url: "https://dl.flathub.org/repo/flathub.flatpakrepo"}
|
||||
|
||||
|
||||
### Flatpak packages to install
|
||||
flatpaks:
|
||||
- { remote: "flathub", package: "com.discordapp.Discord" }
|
||||
- { remote: "flathub", package: "com.github.tchx84.Flatseal" }
|
||||
|
||||
@@ -8,4 +8,10 @@
|
||||
ansible.builtin.dnf:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
loop: "{{ dnf_packages }}"
|
||||
loop: "{{ dnf_installs }}"
|
||||
|
||||
- name: Remove Packages
|
||||
ansible.builtin.dnf:
|
||||
name: "{{ item }}"
|
||||
state: absent
|
||||
loop: "{{ dnf_removes }}"
|
||||
@@ -3,6 +3,7 @@
|
||||
name:
|
||||
- https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-{{ release_ver }}.noarch.rpm
|
||||
- https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ release_ver }}.noarch.rpm
|
||||
disable_gpg_check: true
|
||||
state: present
|
||||
|
||||
- name: DNF Update
|
||||
|
||||
Reference in New Issue
Block a user