aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.yaml2
-rw-r--r--src/config/files/shell/.tmux.conf28
-rw-r--r--src/config/files/shell/.vimrc10
-rw-r--r--src/config/tasks/main.yaml26
-rw-r--r--src/packages/files/keybase.repo7
-rw-r--r--src/packages/files/kubernetes.repo6
-rw-r--r--src/packages/tasks/main.yaml23
-rw-r--r--src/packages/vars/main.yaml5
-rw-r--r--tests/Dockerfile11
-rw-r--r--tests/config.yaml15
-rw-r--r--tests/repos/keybase.repo7
-rw-r--r--tests/repos/kubernetes.repo6
-rw-r--r--tests/repos/rpmfusion-free-updates-testing.repo31
-rw-r--r--tests/repos/rpmfusion-free-updates.repo31
-rw-r--r--tests/repos/rpmfusion-free.repo33
-rw-r--r--tests/repos/rpmfusion-nonfree-steam.repo32
-rw-r--r--tests/repos/rpmfusion-nonfree-updates-testing.repo31
-rw-r--r--tests/repos/rpmfusion-nonfree-updates.repo31
-rw-r--r--tests/repos/rpmfusion-nonfree.repo34
-rw-r--r--tests/tests.yaml18
20 files changed, 369 insertions, 18 deletions
diff --git a/config.yaml b/config.yaml
index ff5238a..6544ae8 100644
--- a/config.yaml
+++ b/config.yaml
@@ -1,5 +1,7 @@
---
username: aaditya
+target:
+ version: 39
packages:
- development
- gaming
diff --git a/src/config/files/shell/.tmux.conf b/src/config/files/shell/.tmux.conf
index 2896f30..0fa8ec6 100644
--- a/src/config/files/shell/.tmux.conf
+++ b/src/config/files/shell/.tmux.conf
@@ -53,8 +53,34 @@ set-option -g visual-activity off
set-option -g visual-bell off
set-option -g visual-silence off
set-option -g word-separators "!\"#$%&'()*+,-./:;<=>?@[\\]^`{|}~"
+set-option -g renumber-windows on
+
+bind '"' split-window -c "#{pane_current_path}"
+bind % split-window -h -c "#{pane_current_path}"
+unbind -T copy-mode-vi MouseDragEnd1Pane
+# Linux only
+# Linux only
+set -g mouse on
+bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; send-keys -M'"
+bind -n WheelDownPane select-pane -t= \; send-keys -M
+bind -n C-WheelUpPane select-pane -t= \; copy-mode -e \; send-keys -M
+bind -T copy-mode-vi C-WheelUpPane send-keys -X halfpage-up
+bind -T copy-mode-vi C-WheelDownPane send-keys -X halfpage-down
+bind -T copy-mode-emacs C-WheelUpPane send-keys -X halfpage-up
+bind -T copy-mode-emacs C-WheelDownPane send-keys -X halfpage-down
+
+# To copy, left click and drag to highlight text in yellow,
+# once you release left click yellow text will disappear and will automatically be available in clibboard
+# # Use vim keybindings in copy mode
+setw -g mode-keys vi
+# Update default binding of `Enter` to also use copy-pipe
+unbind -T copy-mode-vi Enter
+bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xclip -selection c"
+bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -in -selection clipboard"
+set -g default-terminal "xterm-256color"
+set -ga terminal-overrides ",xterm-256color:Tc"
+
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @resurrect-strategy-vim 'session'
set -g @resurrect-strategy-nvim 'session'
run '~/.tmux/plugins/tpm/tpm'
-
diff --git a/src/config/files/shell/.vimrc b/src/config/files/shell/.vimrc
index 5a4e376..6c998ad 100644
--- a/src/config/files/shell/.vimrc
+++ b/src/config/files/shell/.vimrc
@@ -10,12 +10,13 @@ call vundle#begin()
set bs=2
set ts=8
-set tw=80
+"set tw=80
set t_Co=256
set number
set ruler
set shiftwidth=2 smarttab
set expandtab
+set autochdir
@@ -29,6 +30,10 @@ map <F1> :NERDTreeTabsToggle<CR>
noremap <C-f> :Files <CR>
xnoremap <C-c> :s/^/\/\/ <CR>
nmap <C-p> <Plug>MarkdownPreviewToggle
+inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
+inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
+inoremap <silent><expr> <CR> coc#pum#visible() ? coc#pum#confirm() : "\<CR>"
+map <C-l> :Lines<CR>
syntax on
@@ -44,11 +49,12 @@ Bundle 'jistr/vim-nerdtree-tabs'
Plugin 'scrooloose/nerdtree'
Plugin 'sainnhe/gruvbox-material'
Plugin 'sheerun/vim-polyglot'
-Plugin 'valloric/youcompleteme'
+" Plugin 'valloric/youcompleteme'
Plugin 'junegunn/fzf'
Plugin 'junegunn/fzf.vim'
Plugin 'iamcco/markdown-preview.nvim'
Plugin 'tpope/vim-obsession'
+Plugin 'neoclide/coc.nvim'
" All of your Plugins must be added before the following line
let g:airline_theme='gruvbox_material'
diff --git a/src/config/tasks/main.yaml b/src/config/tasks/main.yaml
index 00f83b4..2eda1c5 100644
--- a/src/config/tasks/main.yaml
+++ b/src/config/tasks/main.yaml
@@ -7,31 +7,31 @@
- name: Setup oh-my-zsh
become: true
- become_user: {{ config.username }}
+ become_user: "{{ config.username }}"
ansible.builtin.shell: 'sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended'
ignore_errors: true
- name: Setup zsh-autosuggestions
become: true
- become_user: {{ config.username }}
+ become_user: "{{ config.username }}"
ansible.builtin.shell: 'git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions'
ignore_errors: true
- name: Setup zsh-syntax-highlighting
become: true
- become_user: {{ config.username }}
+ become_user: "{{ config.username }}"
ansible.builtin.shell: 'git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting'
ignore_errors: true
- name: Setup powerlevel10k
become: true
- become_user: {{ config.username }}
+ become_user: "{{ config.username }}"
ansible.builtin.shell: 'git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k'
ignore_errors: true
- name: Setup p10k, tmux and zshrc
become: true
- become_user: {{ config.username }}
+ become_user: "{{ config.username }}"
ansible.builtin.copy:
src: shell/{{ item }}
dest: "/home/{{ config.username }}"
@@ -43,7 +43,7 @@
- name: Setup vimrc and vim bundles
become: true
- become_user: {{ config.username }}
+ become_user: "{{ config.username }}"
ansible.builtin.copy:
src: shell/{{ item }}
dest: "/home/{{ config.username }}"
@@ -53,13 +53,13 @@
- name: Setup vundle
become: true
- become_user: {{ config.username }}
+ become_user: "{{ config.username }}"
ansible.builtin.shell: 'git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim && vim +PluginInstall +qall'
ignore_errors: true
- name: Install autoload in right directory
become: true
- become_user: {{ config.username }}
+ become_user: "{{ config.username }}"
ansible.builtin.copy:
src: "/home/{{ config.username }}/.vim/bundle/gruvbox-material/autoload/gruvbox_material.vim"
dest: "/home/{{ config.username }}/.vim/autoload/"
@@ -67,7 +67,7 @@
- name: Install colors in right directory
become: true
- become_user: {{ config.username }}
+ become_user: "{{ config.username }}"
ansible.builtin.copy:
src: "/home/{{ config.username }}/.vim/bundle/gruvbox-material/colors/gruvbox-material.vim"
dest: "/home/{{ config.username }}/.vim/colors/"
@@ -75,7 +75,7 @@
- name: Setup vim/neovim directories
become: true
- become_user: {{ config.username }}
+ become_user: "{{ config.username }}"
ansible.builtin.copy:
src: "{{ item }}"
dest: "/home/{{ config.username }}/.config"
@@ -87,7 +87,7 @@
- name: Install Dotfiles (Wayland)
become: true
- become_user: {{ config.username }}
+ become_user: "{{ config.username }}"
ansible.builtin.copy:
src: "{{ item }}"
dest: "/home/{{ config.username }}/.config/"
@@ -97,7 +97,7 @@
- name: Install Dotfiles (Xorg)
become: true
- become_user: {{ config.username }}
+ become_user: "{{ config.username }}"
ansible.builtin.copy:
src: "{{ item }}"
dest: "/home/{{ config.username }}/.config/"
@@ -107,7 +107,7 @@
- name: Install Dotfiles (All)
become: true
- become_user: {{ config.username }}
+ become_user: "{{ config.username }}"
ansible.builtin.copy:
src: "{{ item }}"
dest: "/home/{{ config.username }}/.config/"
diff --git a/src/packages/files/keybase.repo b/src/packages/files/keybase.repo
new file mode 100644
index 0000000..8c5094c
--- /dev/null
+++ b/src/packages/files/keybase.repo
@@ -0,0 +1,7 @@
+[keybase]
+name=keybase
+baseurl=http://prerelease.keybase.io/rpm/x86_64
+enabled=1
+gpgcheck=1
+gpgkey=https://keybase.io/docs/server_security/code_signing_key.asc
+metadata_expire=60
diff --git a/src/packages/files/kubernetes.repo b/src/packages/files/kubernetes.repo
new file mode 100644
index 0000000..0c596ef
--- /dev/null
+++ b/src/packages/files/kubernetes.repo
@@ -0,0 +1,6 @@
+[kubernetes]
+name=Kubernetes
+baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-$basearch
+enabled=1
+gpgcheck=1
+gpgkey=https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
diff --git a/src/packages/tasks/main.yaml b/src/packages/tasks/main.yaml
index 384f52f..9b05f03 100644
--- a/src/packages/tasks/main.yaml
+++ b/src/packages/tasks/main.yaml
@@ -1,9 +1,32 @@
+- name: Setup Repositories
+ block:
+ - name: Setup Free RPM Repository
+ ansible.builtin.shell: 'dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm'
+ - name: Setup Non-Free RPM Repository
+ ansible.builtin.shell: 'dnf install -y https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'
+ - name: Setup K8S Repository
+ ansible.builtin.copy:
+ src: kubernetes.repo
+ dest: /etc/yum.repos.d/kubernetes.repo
+ owner: root
+ group: root
+ mode: '0644'
+ - name: Setup Keybase Repository
+ ansible.builtin.copy:
+ src: keybase.repo
+ dest: /etc/yum.repos.d/keybase.repo
+ owner: root
+ group: root
+ mode: '0644'
+
- name: Installing DNF Packages
ansible.builtin.dnf:
name: "{{ packages[item].dnf }}"
state: latest
loop: "{{ config.packages }}"
+- name: Setup Flathub
+ ansible.builtin.shell: 'flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo'
- name: Installing Flatpaks
community.general.flatpak:
name: "{{ packages[item].flatpak }}"
diff --git a/src/packages/vars/main.yaml b/src/packages/vars/main.yaml
index 1be4b88..93ca383 100644
--- a/src/packages/vars/main.yaml
+++ b/src/packages/vars/main.yaml
@@ -30,6 +30,7 @@ packages:
- alacritty
- git
- neovim
+ - vim
- bat
- fzf
- cmake
@@ -80,8 +81,8 @@ packages:
dnf:
- SDL2-devel
- ncurses-devel
- - mesa-va-drivers-freeworld
- - mesa-vdpau-drivers-freeworld
+ # - mesa-va-drivers-freeworld
+ # - mesa-vdpau-drivers-freeworld
flatpak:
xorg:
diff --git a/tests/Dockerfile b/tests/Dockerfile
new file mode 100644
index 0000000..696dacc
--- /dev/null
+++ b/tests/Dockerfile
@@ -0,0 +1,11 @@
+FROM fedora:39
+
+# Install ansible
+RUN dnf update -y
+RUN dnf install -y ansible
+
+WORKDIR /app
+COPY . /app
+
+# Run Ansible against tests
+CMD ["ansible-playbook", "tests/tests.yaml"]
diff --git a/tests/config.yaml b/tests/config.yaml
new file mode 100644
index 0000000..dcffd62
--- /dev/null
+++ b/tests/config.yaml
@@ -0,0 +1,15 @@
+---
+username: root
+packages:
+ - development
+system:
+ wireguard:
+ wg_path: /etc/wireguard/wg0.conf
+ install_wireguard: true
+ install_systemd: true
+opt:
+config:
+ install_shell: true
+ install_wayland: false
+ install_xorg: false
+ install_misc: false
diff --git a/tests/repos/keybase.repo b/tests/repos/keybase.repo
new file mode 100644
index 0000000..8c5094c
--- /dev/null
+++ b/tests/repos/keybase.repo
@@ -0,0 +1,7 @@
+[keybase]
+name=keybase
+baseurl=http://prerelease.keybase.io/rpm/x86_64
+enabled=1
+gpgcheck=1
+gpgkey=https://keybase.io/docs/server_security/code_signing_key.asc
+metadata_expire=60
diff --git a/tests/repos/kubernetes.repo b/tests/repos/kubernetes.repo
new file mode 100644
index 0000000..0c596ef
--- /dev/null
+++ b/tests/repos/kubernetes.repo
@@ -0,0 +1,6 @@
+[kubernetes]
+name=Kubernetes
+baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-$basearch
+enabled=1
+gpgcheck=1
+gpgkey=https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
diff --git a/tests/repos/rpmfusion-free-updates-testing.repo b/tests/repos/rpmfusion-free-updates-testing.repo
new file mode 100644
index 0000000..707ff1c
--- /dev/null
+++ b/tests/repos/rpmfusion-free-updates-testing.repo
@@ -0,0 +1,31 @@
+[rpmfusion-free-updates-testing]
+name=RPM Fusion for Fedora $releasever - Free - Test Updates
+#baseurl=http://download1.rpmfusion.org/free/fedora/updates/testing/$releasever/$basearch/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-testing-$releasever&arch=$basearch
+enabled=0
+enabled_metadata=0
+type=rpm-md
+gpgcheck=1
+repo_gpgcheck=0
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
+
+[rpmfusion-free-updates-testing-debuginfo]
+name=RPM Fusion for Fedora $releasever - Free - Test Updates Debug
+#baseurl=http://download1.rpmfusion.org/free/fedora/updates/testing/$releasever/$basearch/debug/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-testing-debug-$releasever&arch=$basearch
+enabled=0
+type=rpm-md
+gpgcheck=1
+repo_gpgcheck=0
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
+
+[rpmfusion-free-updates-testing-source]
+name=RPM Fusion for Fedora $releasever - Free - Test Updates Source
+#baseurl=http://download1.rpmfusion.org/free/fedora/updates/testing/$releasever/SRPMS/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-testing-source-$releasever&arch=$basearch
+enabled=0
+type=rpm-md
+gpgcheck=1
+repo_gpgcheck=0
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
+
diff --git a/tests/repos/rpmfusion-free-updates.repo b/tests/repos/rpmfusion-free-updates.repo
new file mode 100644
index 0000000..1405931
--- /dev/null
+++ b/tests/repos/rpmfusion-free-updates.repo
@@ -0,0 +1,31 @@
+[rpmfusion-free-updates]
+name=RPM Fusion for Fedora $releasever - Free - Updates
+#baseurl=http://download1.rpmfusion.org/free/fedora/updates/$releasever/$basearch/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-released-$releasever&arch=$basearch
+enabled=1
+enabled_metadata=1
+type=rpm-md
+gpgcheck=1
+repo_gpgcheck=0
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
+
+[rpmfusion-free-updates-debuginfo]
+name=RPM Fusion for Fedora $releasever - Free - Updates Debug
+#baseurl=http://download1.rpmfusion.org/free/fedora/updates/$releasever/$basearch/debug/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-released-debug-$releasever&arch=$basearch
+enabled=0
+type=rpm-md
+gpgcheck=1
+repo_gpgcheck=0
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
+
+[rpmfusion-free-updates-source]
+name=RPM Fusion for Fedora $releasever - Free - Updates Source
+#baseurl=http://download1.rpmfusion.org/free/fedora/updates/$releasever/SRPMS/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-updates-released-source-$releasever&arch=$basearch
+enabled=0
+type=rpm-md
+gpgcheck=1
+repo_gpgcheck=0
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
+
diff --git a/tests/repos/rpmfusion-free.repo b/tests/repos/rpmfusion-free.repo
new file mode 100644
index 0000000..e65aa5b
--- /dev/null
+++ b/tests/repos/rpmfusion-free.repo
@@ -0,0 +1,33 @@
+[rpmfusion-free]
+name=RPM Fusion for Fedora $releasever - Free
+#baseurl=http://download1.rpmfusion.org/free/fedora/releases/$releasever/Everything/$basearch/os/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-$releasever&arch=$basearch
+enabled=1
+metadata_expire=14d
+type=rpm-md
+gpgcheck=1
+repo_gpgcheck=0
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
+
+[rpmfusion-free-debuginfo]
+name=RPM Fusion for Fedora $releasever - Free - Debug
+#baseurl=http://download1.rpmfusion.org/free/fedora/releases/$releasever/Everything/$basearch/debug/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-debug-$releasever&arch=$basearch
+enabled=0
+metadata_expire=7d
+type=rpm-md
+gpgcheck=1
+repo_gpgcheck=0
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
+
+[rpmfusion-free-source]
+name=RPM Fusion for Fedora $releasever - Free - Source
+#baseurl=http://download1.rpmfusion.org/free/fedora/releases/$releasever/Everything/source/SRPMS/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=free-fedora-source-$releasever&arch=$basearch
+enabled=0
+metadata_expire=7d
+type=rpm-md
+gpgcheck=1
+repo_gpgcheck=0
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-$releasever
+
diff --git a/tests/repos/rpmfusion-nonfree-steam.repo b/tests/repos/rpmfusion-nonfree-steam.repo
new file mode 100644
index 0000000..63ad199
--- /dev/null
+++ b/tests/repos/rpmfusion-nonfree-steam.repo
@@ -0,0 +1,32 @@
+[rpmfusion-nonfree-steam]
+name=RPM Fusion for Fedora $releasever - Nonfree - Steam
+#baseurl=http://download1.rpmfusion.org/nonfree/fedora/steam/$releasever/$basearch/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-steam-$releasever&arch=$basearch
+enabled=1
+type=rpm-md
+gpgcheck=1
+repo_gpgcheck=0
+gpgkey=file:///usr/share/distribution-gpg-keys/rpmfusion/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
+skip_if_unavailable=True
+
+[rpmfusion-nonfree-steam-debuginfo]
+name=RPM Fusion for Fedora $releasever - Nonfree - Steam Debug
+#baseurl=http://download1.rpmfusion.org/nonfree/fedora/steam/$releasever/$basearch/debug/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-steam-debug-$releasever&arch=$basearch
+enabled=0
+type=rpm-md
+gpgcheck=1
+repo_gpgcheck=0
+gpgkey=file:///usr/share/distribution-gpg-keys/rpmfusion/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
+skip_if_unavailable=True
+
+[rpmfusion-nonfree-steam-source]
+name=RPM Fusion for Fedora $releasever - Nonfree - Steam Source
+#baseurl=http://download1.rpmfusion.org/nonfree/fedora/steam/$releasever/SRPMS/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-steam-source-$releasever&arch=$basearch
+enabled=0
+type=rpm-md
+gpgcheck=1
+repo_gpgcheck=0
+gpgkey=file:///usr/share/distribution-gpg-keys/rpmfusion/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
+skip_if_unavailable=True
diff --git a/tests/repos/rpmfusion-nonfree-updates-testing.repo b/tests/repos/rpmfusion-nonfree-updates-testing.repo
new file mode 100644
index 0000000..498d504
--- /dev/null
+++ b/tests/repos/rpmfusion-nonfree-updates-testing.repo
@@ -0,0 +1,31 @@
+[rpmfusion-nonfree-updates-testing]
+name=RPM Fusion for Fedora $releasever - Nonfree - Test Updates
+#baseurl=http://download1.rpmfusion.org/nonfree/fedora/updates/testing/$releasever/$basearch/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-updates-testing-$releasever&arch=$basearch
+enabled=0
+enabled_metadata=0
+type=rpm-md
+gpgcheck=1
+repo_gpgcheck=0
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
+
+[rpmfusion-nonfree-updates-testing-debuginfo]
+name=RPM Fusion for Fedora $releasever - Nonfree - Test Updates Debug
+#baseurl=http://download1.rpmfusion.org/nonfree/fedora/updates/testing/$releasever/$basearch/debug/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-updates-testing-debug-$releasever&arch=$basearch
+enabled=0
+type=rpm-md
+gpgcheck=1
+repo_gpgcheck=0
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
+
+[rpmfusion-nonfree-updates-testing-source]
+name=RPM Fusion for Fedora $releasever - Nonfree - Test Updates Source
+#baseurl=http://download1.rpmfusion.org/nonfree/fedora/updates/testing/$releasever/SRPMS/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-updates-testing-source-$releasever&arch=$basearch
+enabled=0
+type=rpm-md
+gpgcheck=1
+repo_gpgcheck=0
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
+
diff --git a/tests/repos/rpmfusion-nonfree-updates.repo b/tests/repos/rpmfusion-nonfree-updates.repo
new file mode 100644
index 0000000..6d4d825
--- /dev/null
+++ b/tests/repos/rpmfusion-nonfree-updates.repo
@@ -0,0 +1,31 @@
+[rpmfusion-nonfree-updates]
+name=RPM Fusion for Fedora $releasever - Nonfree - Updates
+#baseurl=http://download1.rpmfusion.org/nonfree/fedora/updates/$releasever/$basearch/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-updates-released-$releasever&arch=$basearch
+enabled=1
+enabled_metadata=1
+type=rpm-md
+gpgcheck=1
+repo_gpgcheck=0
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
+
+[rpmfusion-nonfree-updates-debuginfo]
+name=RPM Fusion for Fedora $releasever - Nonfree - Updates Debug
+#baseurl=http://download1.rpmfusion.org/nonfree/fedora/updates/$releasever/$basearch/debug/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-updates-released-debug-$releasever&arch=$basearch
+enabled=0
+type=rpm-md
+gpgcheck=1
+repo_gpgcheck=0
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
+
+[rpmfusion-nonfree-updates-source]
+name=RPM Fusion for Fedora $releasever - Nonfree - Updates Source
+#baseurl=http://download1.rpmfusion.org/nonfree/fedora/updates/$releasever/SRPMS/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-updates-released-source-$releasever&arch=$basearch
+enabled=0
+type=rpm-md
+gpgcheck=1
+repo_gpgcheck=0
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
+
diff --git a/tests/repos/rpmfusion-nonfree.repo b/tests/repos/rpmfusion-nonfree.repo
new file mode 100644
index 0000000..dfb5110
--- /dev/null
+++ b/tests/repos/rpmfusion-nonfree.repo
@@ -0,0 +1,34 @@
+[rpmfusion-nonfree]
+name=RPM Fusion for Fedora $releasever - Nonfree
+#baseurl=http://download1.rpmfusion.org/nonfree/fedora/releases/$releasever/Everything/$basearch/os/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-$releasever&arch=$basearch
+enabled=1
+enabled_metadata=1
+metadata_expire=14d
+type=rpm-md
+gpgcheck=1
+repo_gpgcheck=0
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
+
+[rpmfusion-nonfree-debuginfo]
+name=RPM Fusion for Fedora $releasever - Nonfree - Debug
+#baseurl=http://download1.rpmfusion.org/nonfree/fedora/releases/$releasever/Everything/$basearch/debug/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-debug-$releasever&arch=$basearch
+enabled=0
+metadata_expire=7d
+type=rpm-md
+gpgcheck=1
+repo_gpgcheck=0
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
+
+[rpmfusion-nonfree-source]
+name=RPM Fusion for Fedora $releasever - Nonfree - Source
+#baseurl=http://download1.rpmfusion.org/nonfree/fedora/releases/$releasever/Everything/source/SRPMS/
+metalink=https://mirrors.rpmfusion.org/metalink?repo=nonfree-fedora-source-$releasever&arch=$basearch
+enabled=0
+metadata_expire=7d
+type=rpm-md
+gpgcheck=1
+repo_gpgcheck=0
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-$releasever
+
diff --git a/tests/tests.yaml b/tests/tests.yaml
new file mode 100644
index 0000000..5177032
--- /dev/null
+++ b/tests/tests.yaml
@@ -0,0 +1,18 @@
+- name: System Configuration
+ hosts: localhost
+ connection: local
+ vars:
+ config: "{{ lookup('file','config.yaml') | from_yaml }}"
+ tasks:
+ - name: Startup
+ debug:
+ msg: Starting system setup
+ - name: Package Management
+ include_role:
+ name: "src/packages"
+ - name: Configs Setup
+ include_role:
+ name: "src/config"
+ - name: System setup
+ include_role:
+ name: "src/system"