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
|
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
|
Run the playbook
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
release_ver: "41"
|
release_ver: "41"
|
||||||
core_ver: "fc41"
|
core_ver: "fc41"
|
||||||
|
|
||||||
username: "" #MY SUDO USER HERE
|
### List of DNF packages to install
|
||||||
|
dnf_installs:
|
||||||
dnf_packages:
|
|
||||||
- rhythmbox
|
- rhythmbox
|
||||||
- terminator
|
- terminator
|
||||||
- git
|
- git
|
||||||
@@ -15,11 +14,20 @@ dnf_packages:
|
|||||||
- flatpak
|
- flatpak
|
||||||
- util-linux-user
|
- util-linux-user
|
||||||
- curl
|
- curl
|
||||||
|
- wget
|
||||||
- zsh
|
- 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:
|
flatpak_remotes:
|
||||||
- { name: "flathub", url: "https://dl.flathub.org/repo/flathub.flatpakrepo"}
|
- { name: "flathub", url: "https://dl.flathub.org/repo/flathub.flatpakrepo"}
|
||||||
|
|
||||||
|
|
||||||
|
### Flatpak packages to install
|
||||||
flatpaks:
|
flatpaks:
|
||||||
- { remote: "flathub", package: "com.discordapp.Discord" }
|
- { remote: "flathub", package: "com.discordapp.Discord" }
|
||||||
- { remote: "flathub", package: "com.github.tchx84.Flatseal" }
|
- { remote: "flathub", package: "com.github.tchx84.Flatseal" }
|
||||||
|
|||||||
@@ -8,4 +8,10 @@
|
|||||||
ansible.builtin.dnf:
|
ansible.builtin.dnf:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: present
|
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:
|
name:
|
||||||
- https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-{{ release_ver }}.noarch.rpm
|
- 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
|
- https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ release_ver }}.noarch.rpm
|
||||||
|
disable_gpg_check: true
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: DNF Update
|
- name: DNF Update
|
||||||
|
|||||||
4
setup.sh
4
setup.sh
@@ -2,4 +2,6 @@
|
|||||||
|
|
||||||
|
|
||||||
echo "Installing ansible, please authenticate with sudo"
|
echo "Installing ansible, please authenticate with sudo"
|
||||||
sudo dnf install -y ansible
|
sudo dnf install -y ansible
|
||||||
|
|
||||||
|
echo "Please remember to generate and install ssh keys like shown in the readme, or ansible will fail to authenticate."
|
||||||
Reference in New Issue
Block a user