Simplify common playbook, add more packages
This commit is contained in:
parent
565a2fbc36
commit
97bfb64678
3 changed files with 11 additions and 10 deletions
12
common.yml
12
common.yml
|
@ -2,5 +2,13 @@
|
|||
- hosts:
|
||||
- network
|
||||
- webservers
|
||||
roles:
|
||||
- role: common
|
||||
tasks:
|
||||
- name: Install vim, curl and htop
|
||||
become: true
|
||||
ansible.builtin.apt:
|
||||
pkg:
|
||||
- vim
|
||||
- htop
|
||||
- curl
|
||||
update_cache: yes
|
||||
cache_valid_time: 86400 # 1 day
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
- name: Install vim
|
||||
become: true
|
||||
ansible.builtin.apt:
|
||||
name: vim
|
|
@ -1,2 +0,0 @@
|
|||
---
|
||||
- import_tasks: editor.yml
|
Loading…
Reference in a new issue