role_drone_cli/tasks/main.yml

16 lines
428 B
YAML

---
# tasks file for drone_cli
- name: Importer les tâches d'installation
tags: installation
ansible.builtin.import_tasks: installation.yml
- name: Inclure les tâches de configuration
tags: configuration
ansible.builtin.include_tasks: configuration.yml
when:
- drone_cli_server_url | length > 0
- drone_cli_server_token | length > 0
- drone_cli_commands | length > 0
loop: "{{ drone_cli_commands }}"