1
0
Fork 0
mirror of https://github.com/samsapti/bachelor-project.git synced 2024-11-25 22:37:55 +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 gather_facts: true
become: true become: true
tasks: tasks:
- name: Upgrade system packages
ansible.builtin.apt:
update_cache: true
upgrade: full
- name: Create user {{ username }} - name: Create user {{ username }}
ansible.builtin.user: ansible.builtin.user:
name: "{{ username }}" name: "{{ username }}"

View file

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