feat: add basic user setup playbook
This commit is contained in:
parent
1fb19fde53
commit
69eec58257
4 changed files with 127 additions and 0 deletions
19
roles/remote_env/tasks/main.yaml
Normal file
19
roles/remote_env/tasks/main.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
- name: Install packages
|
||||
become: true
|
||||
ansible.builtin.package:
|
||||
state: present
|
||||
name:
|
||||
- git
|
||||
- vim
|
||||
|
||||
- name: Deploy home files
|
||||
ansible.builtin.copy:
|
||||
mode: preserve
|
||||
src: home/
|
||||
dest: ~/
|
||||
|
||||
- name: Deploy config files
|
||||
ansible.builtin.copy:
|
||||
mode: preserve
|
||||
src: config/
|
||||
dest: ~/.config
|
||||
Loading…
Add table
Add a link
Reference in a new issue