diff --git a/roles/requirements.yml b/roles/requirements.yml index 3b0b665..3bb0bfa 100644 --- a/roles/requirements.yml +++ b/roles/requirements.yml @@ -10,11 +10,15 @@ src: https://repo.piave7.duckdns.org/Jose/ansible_proxmox_VM.git scm: git -- name: ansible_proxmox_vm +- name: ansible-playbook-homelab src: https://github.com/joshrnoll/ansible-playbook-homelab.git scm: git # version: master # or a specific tag/branch like 'v1.0.0' +- name: ansible-role-debian_common + src: https://repo.piave7.duckdns.org/Jose/ansible-role-debian_common.git + scm: git + # - name: ansible_samba_domain_member # src: git@repo.piave7.duckdns.org:Jose/ansible_samba_domain_member.git # <-- Use the SSH URL # scm: git diff --git a/tasks/testing.yml b/tasks/testing.yml index 3871d93..b4fa3d5 100644 --- a/tasks/testing.yml +++ b/tasks/testing.yml @@ -1,3 +1,4 @@ +--- - name: Deploy VM templates hosts: node0 @@ -88,7 +89,7 @@ # VMs to be created create_proxmox_vms_list: - - name: dc + - name: dc1 template: 9412 vmid: 1000 memory: 2048 @@ -105,3 +106,18 @@ nameservers: - 192.168.2.100 - 8.8.8.8 + + +- name: Test common role + hosts: dc1 + + tasks: + - name: Deploy VMs + ansible.builtin.include_role: + name: ansible-role-debian_common + + vars: + # Proxmox credentials + ansible_user: "{{ ciuser }}" + +