ft_chatons/ansible/playbooks/install.yml
2026-03-02 15:31:24 +01:00

32 lines
636 B
YAML

---
- name: Configure ft_chatons base VM
hosts: ft_chatons
become: yes
tasks:
- name: Update apt cache
apt:
update_cache: yes
- name: Upgrade all packages
apt:
upgrade: dist
update_cache: yes
- name: Install htop
apt:
name:
- htop
- vim
- just
- unzip
state: present
- name: Include Docker installation tasks
include_tasks: tasks/docker.yml
- name: Copy the project to the VM
include_tasks: tasks/copy-to-vm.yml
- name: Start all services
include_tasks: tasks/start.yml