ft_chatons/ansible/playbooks/install.yml

27 lines
525 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
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