initial templates

This commit is contained in:
2022-11-19 14:22:27 +01:00
parent 2b6462d8cf
commit 780ab1691f
5 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
---
collections:
- ansible.posix

14
install-requirements.yml Normal file
View File

@@ -0,0 +1,14 @@
---
- hosts: localhost
tasks:
- name: Install roles
community.general.ansible_galaxy_install:
dest: "{{ playbook_dir }}/roles"
type: role
requirements_file: "{{ playbook_dir }}/roles/requirements.yml"
force: yes
- name: Install collections
community.general.ansible_galaxy_install:
type: collection
requirements_file: "{{ playbook_dir }}/collections/requirements.yml"

View File

@@ -0,0 +1,4 @@
- hosts: all
become: yes
roles:
- secretmine.teamspeak3

View File

@@ -0,0 +1,4 @@
- hosts: all
become: yes
roles:
- secretmine.update

8
roles/requirements.yml Normal file
View File

@@ -0,0 +1,8 @@
---
- src: "git+https://git.secretmine.de/Ansible/TeamSpeak3.git"
version: main
name: secretmine.teamspeak3
- src: "git+https://git.secretmine.de/Ansible/Update.git"
version: main
name: secretmine.update