xoxys.cups/vars/main.yml
Robert Kaussow 56444f7f5a
All checks were successful
continuous-integration/drone/push Build is passing
chore: handle rpm release version
2022-01-28 13:59:24 +01:00

20 lines
1.0 KiB
YAML

---
__cups_version_comp: "{{ cups_version | split('-') }}"
__cups_download_url: https://gitea.rknet.org/rpmbuild/cups/releases/download/v{{ cups_version }}
__cups_packages:
- "{{ __cups_download_url }}/cups-{{ __cups_version_comp[0] }}-{{ __cups_version_comp[1] | default('0') }}.el{{ ansible_distribution_major_version }}.x86_64.rpm"
- "{{ __cups_download_url }}/cups-libs-{{ __cups_version_comp[0] }}-{{ __cups_version_comp[1] | default('0') }}.el{{ ansible_distribution_major_version }}.x86_64.rpm"
- "{{ __cups_download_url }}/cups-lpd-{{ __cups_version_comp[0] }}-{{ __cups_version_comp[1] | default('0') }}.el{{ ansible_distribution_major_version }}.x86_64.rpm"
- "{{ __cups_download_url }}/cups-devel-{{ __cups_version_comp[0] }}-{{ __cups_version_comp[1] | default('0') }}.el{{ ansible_distribution_major_version }}.x86_64.rpm"
__pam_config:
- type: "auth"
control: "required"
module: "pam_unknown.so"
new_module: "pam_unix.so"
- type: "account"
control: "required"
module: "pam_unknown.so"
new_module: "pam_unix.so"