feat: move playbook to implementation repository
This commit is contained in:
parent
ea675aacb6
commit
e27f3fd7ca
3 changed files with 2 additions and 28 deletions
|
|
@ -7,5 +7,6 @@ galaxy_info:
|
||||||
role_name: "pangolin"
|
role_name: "pangolin"
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: "docker"
|
- name: "docker"
|
||||||
src: "git+https://gitlab.simoncor.net/ansible/ans-docker.git"
|
src: "https://gitlab.simoncor.net/ansible/ans-docker.git"
|
||||||
|
scm: "git"
|
||||||
version: "main"
|
version: "main"
|
||||||
|
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
---
|
|
||||||
|
|
||||||
# execute this role
|
|
||||||
- name: "install and configure Pangolin"
|
|
||||||
hosts: "all"
|
|
||||||
become: true
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
# due to semaphore bug we need to do this ourselves
|
|
||||||
- name: "force-update requirements"
|
|
||||||
ansible.builtin.command:
|
|
||||||
cmd: "ansible-galaxy install -f -r roles/requirements.yml"
|
|
||||||
become: false
|
|
||||||
delegate_to: "localhost"
|
|
||||||
changed_when: false
|
|
||||||
failed_when: false
|
|
||||||
|
|
||||||
# execute the role
|
|
||||||
- name: "execute role: pangolin"
|
|
||||||
ansible.builtin.include_role:
|
|
||||||
name: "pangolin"
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
---
|
|
||||||
|
|
||||||
roles:
|
|
||||||
- name: "pangolin"
|
|
||||||
src: "https://gitlab.simoncor.net/ansible/ans-pangolin.git"
|
|
||||||
scm: "git"
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue