aboutsummaryrefslogtreecommitdiffstats
path: root/src/setup.yaml
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2022-05-30 10:03:45 -0500
committerEugene Triguba <eugenetriguba@gmail.com>2022-05-30 10:03:45 -0500
commit03a83252b0adc365bb183f77f555e2add33c1ba1 (patch)
tree450d2526ed03d24fb99afd7b411f6aeb4cc79f74 /src/setup.yaml
parentAdd wallpaper and vim navigation keys for i3 (diff)
downloaddotfiles-03a83252b0adc365bb183f77f555e2add33c1ba1.zip
Add bsd updates
Diffstat (limited to 'src/setup.yaml')
-rw-r--r--src/setup.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/setup.yaml b/src/setup.yaml
index 3e72ae0..5534267 100644
--- a/src/setup.yaml
+++ b/src/setup.yaml
@@ -29,6 +29,17 @@
- include_tasks: tasks/desktop.yaml
when: ansible_os_family == "FreeBSD"
+ - name: Ensure user is setup correctly
+ become: yes
+ become_method: su
+ ansible.builtin.user:
+ name: eugene
+ groups: wheel,vboxusers,operator
+ state: present
+ generate_ssh_key: yes
+ ssh_key_bits: 2048
+ ssh_key_file: $HOME/.ssh/id_rsa
+
- name: Ensure shell is set to zsh
vars:
current_user: "{{ ansible_user_id }}"