feat: move deps to playbook

Remove galaxy dependencies from role meta and add explicit
include_role tasks in the playbook instead.
This commit is contained in:
Simon Cornet 2026-05-08 15:44:26 +02:00
commit 71db40355e
2 changed files with 11 additions and 3 deletions

View file

@ -5,6 +5,4 @@ galaxy_info:
description: "install phpipam" description: "install phpipam"
license: "MIT" license: "MIT"
role_name: "phpipam" role_name: "phpipam"
dependencies: dependencies: []
- role: "docker"
- role: "traefik"

View file

@ -15,6 +15,16 @@
changed_when: false changed_when: false
failed_when: false failed_when: false
# execute the role
- name: "execute role: docker"
ansible.builtin.include_role:
name: "docker"
# execute the role
- name: "execute role: traefik"
ansible.builtin.include_role:
name: "traefik"
# execute the role # execute the role
- name: "execute role: phpipam" - name: "execute role: phpipam"
ansible.builtin.include_role: ansible.builtin.include_role: