1
0
Fork 0
mirror of https://github.com/samsapti/bachelor-project.git synced 2024-11-22 12:57:56 +00:00

Also upgrade system packages

This commit is contained in:
Sam A. 2023-04-19 17:13:56 +02:00
parent 4ffa5a6afa
commit ed9d9284ef
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA
2 changed files with 5 additions and 1 deletions

View file

@ -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 }}"

View file

@ -3,7 +3,6 @@
- name: Install dependencies via apt
ansible.builtin.apt:
name: "{{ pkgs }}"
update_cache: true
state: present
become_user: root
vars: