Update deploy_mongo.yml

This commit is contained in:
mongi 2025-05-28 16:37:49 +00:00
parent fa70ff1c21
commit 8bc62c3dea

View File

@ -71,13 +71,15 @@
ansible_roles_path: "{{ role_absolute_path }}"
tags: run_role
- name: Run the specified Ansible role from the cloned repository
ansible.builtin.include_role:
name: "{{ role_name }}"
vars:
# Ajoute ici les variables spécifiques à ton rôle si besoin
# nginx_port: 8080
# app_env: "production"
- block:
- name: Run the specified Ansible role from the cloned repository
ansible.builtin.include_role:
name: "{{ role_name }}"
vars:
# Ajoute ici les variables spécifiques à ton rôle si besoin
# nginx_port: 8080
# app_env: "production"
delegate_to: localhost
tags: run_role
- name: Clean up the cloned repository (optional)