role_drone_cli/tasks/main.yml

17 lines
445 B
YAML
Raw Normal View History

2022-10-21 15:46:00 +00:00
---
# 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 }}"
run_once: true