add curl_scheduled role

This commit is contained in:
Sergey Malyuk
2025-12-16 12:24:14 +03:00
parent 64197142db
commit 400834cc3b
21 changed files with 365 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
---
- name: "Install curl (Debian derivatives)"
when: ansible_os_family == "Debian"
ansible.builtin.apt:
name: curl
state: present
update_cache: true
- name: "Install curl (RHEL derivatives)"
when: ansible_os_family == "RedHat"
ansible.builtin.dnf:
name: curl
state: present
- name: "Configure and deploy systemd service"
loop: "{{ services }}"
loop_control:
loop_var: "job"
ansible.builtin.include_tasks: "deploy-service.yml"