install createrepo on airgap and non airgap

This commit is contained in:
m0duspwnens
2024-10-22 13:56:38 -04:00
parent 21f359456c
commit 8d2ae23ae6
2 changed files with 9 additions and 3 deletions

View File

@@ -45,6 +45,12 @@ yara_log_dir:
- user
- group
{% if GLOBALS.os_family == 'RedHat' %}
install_createrepo:
pkg.installed:
- name: createrepo
{% endif %}
repo_conf_dir:
file.directory:
- name: /opt/so/conf/reposync