Create install_context_chat.yml

This commit is contained in:
2025-05-24 12:52:20 +02:00
committed by GitHub
parent 78f7f5af53
commit 8bd4770765

37
install_context_chat.yml Normal file
View File

@@ -0,0 +1,37 @@
- name: Voeg lokale host toe aan nextcloud groep
hosts: localhost
gather_facts: yes
tasks:
- name: Haal IP-adres op van huidige server
debug:
var: ansible_default_ipv4.address
- name: Voeg IP-adres toe aan 'nextcloud' groep
add_host:
name: "{{ ansible_default_ipv4.address }}"
groups: Nextcloud
ansible_user: "{{ ansible_user }}"
- name: Install and configure Go, Docker, NATS, Janus, and Signaling Server
hosts: localhost
connection: local
become: true
tasks:
- name: Installeer python3-pip als dat nog niet aanwezig is
apt:
name: python3-pip
state: present
update_cache: yes
- name: Install Docker SDK for Python
pip:
name: docker
executable: pip3
- name: Install Docker
apt:
name: docker.io
state: present
update_cache: yes