main
earnest ma 2022-01-26 18:01:41 -05:00
parent 341b15b7f0
commit ac874febf5
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
4 changed files with 28 additions and 6 deletions

2
.git-hooks/pre-commit Executable file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env sh
ansible-lint

17
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,17 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Run run.yml playbook",
"type": "shell",
"command": "ansible-playbook run.yml -K",
"problemMatcher": []
},
{
"label": "Lint",
"type": "shell",
"command": "ansible-lint",
"problemMatcher": []
}
]
}

View File

@ -18,14 +18,14 @@
# fonts # fonts
- jetbrains-mono-fonts-all - jetbrains-mono-fonts-all
- fira-code-fonts - fira-code-fonts
state: latest state: present
# Configure repos that will need to be available # Configure repos that will need to be available
- name: Enable the RPM Fusion repository - name: Enable the RPM Fusion repository
dnf: dnf:
name: name:
- https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-{{ansible_distribution_major_version}}.noarch.rpm - https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-{{ ansible_distribution_major_version }}.noarch.rpm
- https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ansible_distribution_major_version}}.noarch.rpm - https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-{{ ansible_distribution_major_version }}.noarch.rpm
disable_gpg_check: yes disable_gpg_check: yes
state: present state: present
@ -52,7 +52,10 @@
- ripgrep - ripgrep
- ShellCheck - ShellCheck
- stow - stow
state: latest # ansible
- ansible # should already be available
- ansible-lint
state: present
- name: Install main packages - name: Install main packages
package: package:
@ -66,7 +69,7 @@
- steam - steam
- wine - wine
- winetricks - winetricks
state: latest state: present
- name: Install zoom - name: Install zoom
dnf: dnf:

View File

@ -1,4 +1,4 @@
- name: Update packages - name: Update packages
dnf: dnf:
name: "*" name: "*"
state: latest state: present