From e37bd7c078a5f8732753fed0744c588c8bc7f945 Mon Sep 17 00:00:00 2001 From: pgrondek Date: Wed, 1 Jul 2020 16:25:21 +0200 Subject: [PATCH] Update ubuntu tasks --- roles/ubuntu/tasks/cleanup.yml | 1 + roles/ubuntu/tasks/main.yml | 2 ++ roles/ubuntu/tasks/packages.yml | 38 +++++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 roles/ubuntu/tasks/packages.yml diff --git a/roles/ubuntu/tasks/cleanup.yml b/roles/ubuntu/tasks/cleanup.yml index 9dfa594..7c7bda1 100644 --- a/roles/ubuntu/tasks/cleanup.yml +++ b/roles/ubuntu/tasks/cleanup.yml @@ -8,6 +8,7 @@ - cloud-init - lxd - lxd-client + - nano state: absent - name: disable ubuntu ads diff --git a/roles/ubuntu/tasks/main.yml b/roles/ubuntu/tasks/main.yml index e4e4550..3140acf 100644 --- a/roles/ubuntu/tasks/main.yml +++ b/roles/ubuntu/tasks/main.yml @@ -2,3 +2,5 @@ - import_tasks: cleanup.yml - import_tasks: timezone.yml + +- import_tasks: packages.yml diff --git a/roles/ubuntu/tasks/packages.yml b/roles/ubuntu/tasks/packages.yml new file mode 100644 index 0000000..f60d7c4 --- /dev/null +++ b/roles/ubuntu/tasks/packages.yml @@ -0,0 +1,38 @@ +--- +- name: install aptitude + become: yes + apt: + update_cache: yes + pkg: + - aptitude + +- name: install terminal packages + become: yes + apt: + update_cache: yes + pkg: + - vim + - git + - htop + - tmux + - graphviz + - screen + - tracerouter + - command-not-found + - dnsutils + +- name: install git + become: yes + apt: + update_cache: yes + pkg: + - git + +- name: install browser + become: yes + apt: + update_cache: yes + pkg: + - firefox + +