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
- jetbrains-mono-fonts-all
- fira-code-fonts
state: latest
state: present
# Configure repos that will need to be available
- name: Enable the RPM Fusion repository
dnf:
name:
- 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/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
disable_gpg_check: yes
state: present
@ -52,7 +52,10 @@
- ripgrep
- ShellCheck
- stow
state: latest
# ansible
- ansible # should already be available
- ansible-lint
state: present
- name: Install main packages
package:
@ -66,7 +69,7 @@
- steam
- wine
- winetricks
state: latest
state: present
- name: Install zoom
dnf:

View File

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