Simplify common playbook, add more packages

This commit is contained in:
Ivan R. 2024-12-16 19:57:46 +05:00
parent 565a2fbc36
commit 97bfb64678
Signed by: lumin
GPG key ID: E0937DC7CD6D3817
3 changed files with 11 additions and 10 deletions

View file

@ -2,5 +2,13 @@
- hosts: - hosts:
- network - network
- webservers - webservers
roles: tasks:
- role: common - name: Install vim, curl and htop
become: true
ansible.builtin.apt:
pkg:
- vim
- htop
- curl
update_cache: yes
cache_valid_time: 86400 # 1 day

View file

@ -1,5 +0,0 @@
---
- name: Install vim
become: true
ansible.builtin.apt:
name: vim

View file

@ -1,2 +0,0 @@
---
- import_tasks: editor.yml