From ed9d9284ef7ea2cf9790afa6b2fe8e661bd77ed0 Mon Sep 17 00:00:00 2001 From: Sam Al-Sapti Date: Wed, 19 Apr 2023 17:13:56 +0200 Subject: [PATCH] Also upgrade system packages --- ansible/playbook.yml | 5 +++++ ansible/roles/mp_spdz/tasks/main.yml | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ansible/playbook.yml b/ansible/playbook.yml index d19f404..8762778 100644 --- a/ansible/playbook.yml +++ b/ansible/playbook.yml @@ -5,6 +5,11 @@ gather_facts: true become: true tasks: + - name: Upgrade system packages + ansible.builtin.apt: + update_cache: true + upgrade: full + - name: Create user {{ username }} ansible.builtin.user: name: "{{ username }}" diff --git a/ansible/roles/mp_spdz/tasks/main.yml b/ansible/roles/mp_spdz/tasks/main.yml index 4970a01..b01b11e 100644 --- a/ansible/roles/mp_spdz/tasks/main.yml +++ b/ansible/roles/mp_spdz/tasks/main.yml @@ -3,7 +3,6 @@ - name: Install dependencies via apt ansible.builtin.apt: name: "{{ pkgs }}" - update_cache: true state: present become_user: root vars: