Lint
parent
341b15b7f0
commit
ac874febf5
|
@ -0,0 +1,2 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
ansible-lint
|
|
@ -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": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -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:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
- name: Update packages
|
- name: Update packages
|
||||||
dnf:
|
dnf:
|
||||||
name: "*"
|
name: "*"
|
||||||
state: latest
|
state: present
|
||||||
|
|
Loading…
Reference in New Issue