hhlp / ansible-role-fedora

Ansible PlayBooks for a new Fedora Install

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible Role

This is my personal Ansible Playbook for Automatitaion the setup of a Fresh FEDORA instalation in a few simple steps.

First Steps:

  • Install ansible and ansible-collection-community-general packages
  • Configure Ansible:
sudo nvim /etc/ansible/hosts

and add these lines at the END of the File

[localhost]
127.0.0.1   ansible_connection=local

Testing

ansible localhost -m ping -i ansible_hosts

Execute the folow ansible in the order present below.

  1. Docker Playbook f35-setup-docke.yaml
  • Add Docker CE repo

  • Install Docker

  • Install docker-compose

  • Enable Experimental Fucntions in Docker

  • Install Docker Machine

  • Install Docker Machine Driver KVM

    • Aditional Steps:
    • Install IBM Cloud CLI
    • Execute:
    ansible-playbook -K f35-setup-docker.yaml
    
  1. Vscode Role vscode-setup.yaml
  • Create user font directory if it does not exist
  • Install nerd font
  • name: Install extensions
  • Create vscode config directory if it does not exist
  • Install config file

You need to edit this file and add there all the plug-ins to install:

/home/$USER/ansible-role-fedora/vscode/vscode/defaults
  • Execute:
ansible-playbook vscode-setup.yml
  1. Fedora
  • f35-setup-repos.yaml
  • Set hostname to FedoraBox

  • Install rpm fusion repo

  • Enable Copr Repos

  • Install som packages from a remote repo

  • Install media codecs

  • Creating a file with content mongodb repo

  • Install mongodb tools

  • Creating a file with content gitHub Cli Repo

  • Istall gh-cli

  • Download Balena-Etcher Repo

  • Install balena etcher

  • Add Vivaldi/Brave Browser Repo

  • Install Vivaldi/Brave Browser

  • Add Microsoft Edge Browser Repo

  • Install Microsoft Edge Browser

  • Install Balena Etcher

    • Execute:
    ansible-playbook -K f35-setup-repos
    
  • f35-setup-programs.yaml
  • Install common packages

  • Install some Data Science Packages via RPM

    • Execute:
    ansible-playbook -K f35-setup-programs
    
  • f35-setup-flatpak.yaml
  • Add the flathub repository remote to the user installation

  • Add the Fedora repository remote to the user installation

  • Install comon flatpaks (flathub) Applications

  • Disable Gnome software download update

    • Execute:
    ansible-playbook f35-setup-flatpak
    
  • f35-setup-pip.yaml
  • Install some Data Science Packages via PIP

    • Execute:
    ansible-playbook f35-setup-pip.yaml
    

About

Ansible PlayBooks for a new Fedora Install


Languages

Language:Jinja 100.0%