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:
parent
4ffa5a6afa
commit
ed9d9284ef
|
@ -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 }}"
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue