From 3bc6d9d999df28e211e7232a6d662fff069bc46a Mon Sep 17 00:00:00 2001 From: L3D Date: Mon, 20 Dec 2021 19:42:55 +0100 Subject: [PATCH] Install some common packages --- defaults/main.yml | 5 +++++ tasks/main.yml | 3 +++ tasks/packages.yml | 5 +++++ 3 files changed, 13 insertions(+) create mode 100644 tasks/packages.yml diff --git a/defaults/main.yml b/defaults/main.yml index 0d98029..b46b1f9 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,2 +1,7 @@ --- win_base_init__pass_prefix: 'ansible/windows' +win_base_init__packages: + - git + - Firefox + - mpvio + - vlc diff --git a/tasks/main.yml b/tasks/main.yml index 47815fb..ea240bd 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -5,5 +5,8 @@ - name: configure hostname ansible.builtin.include_tasks: hostname.yml +- name: install some packages + ansible.builtin.include_tasks: packages.yml + - name: scan for updates ansible.builtin.include_tasks: updates.yml diff --git a/tasks/packages.yml b/tasks/packages.yml new file mode 100644 index 0000000..25eb54e --- /dev/null +++ b/tasks/packages.yml @@ -0,0 +1,5 @@ +--- +- name: Install git + chocolatey.chocolatey.win_chocolatey: + name: "{{ win_base_init__packages }}" + state: present