diff --git a/common.yml b/common.yml index 6c50a4d..802e108 100644 --- a/common.yml +++ b/common.yml @@ -1,6 +1,14 @@ --- -- hosts: +- 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 diff --git a/roles/common/tasks/editor.yml b/roles/common/tasks/editor.yml deleted file mode 100644 index 2d231ad..0000000 --- a/roles/common/tasks/editor.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- name: Install vim - become: true - ansible.builtin.apt: - name: vim diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml deleted file mode 100644 index 0ce9bab..0000000 --- a/roles/common/tasks/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -- import_tasks: editor.yml