add sample local content

This commit is contained in:
John Bowdre 2024-02-06 11:15:30 -06:00
parent 117095ed5e
commit c668bf171b
2 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1,13 @@
{% if grains['os_family'] == 'RedHat' %}
install_epel_repo:
pkg.installed:
- name: epel-release
{% endif %}
install_neofetch:
pkg.installed:
- name: neofetch
{% if grains['os_family'] == 'RedHat' %}
- require:
- pkg: install_epel_repo
{% endif %}

View file

@ -0,0 +1,3 @@
uninstall_neofetch:
pkg.removed:
- name: neofetch