Simplify common playbook, add more packages
This commit is contained in:
parent
565a2fbc36
commit
97bfb64678
3 changed files with 11 additions and 10 deletions
14
common.yml
14
common.yml
|
@ -1,6 +1,14 @@
|
||||||
---
|
---
|
||||||
- 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
|
||||||
|
|
|
@ -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