Initial commit: VM Creation done
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
---
|
||||
- name: Update apt cache
|
||||
ansible.builtin.apt:
|
||||
update_cache: yes
|
||||
|
||||
- name: Install essential packages
|
||||
ansible.builtin.apt:
|
||||
name:
|
||||
- sudo
|
||||
- vim
|
||||
- curl
|
||||
- git
|
||||
- software-properties-common
|
||||
state: present
|
||||
|
||||
- name: Ensure user is in docker group
|
||||
ansible.builtin.user:
|
||||
name: "{{ ansible_user }}"
|
||||
groups: docker
|
||||
append: yes
|
||||
Reference in New Issue
Block a user