diff options
Diffstat (limited to 'roles/essential/tasks/main.yml')
-rw-r--r-- | roles/essential/tasks/main.yml | 37 |
1 files changed, 2 insertions, 35 deletions
diff --git a/roles/essential/tasks/main.yml b/roles/essential/tasks/main.yml index 66fd9e4..111e718 100644 --- a/roles/essential/tasks/main.yml +++ b/roles/essential/tasks/main.yml @@ -1,35 +1,2 @@ -- name: Install essential tools - ansible.builtin.package: - name: - - vim - - screen - - git - state: present - -- name: Remove default arch user - ansible.builtin.user: - name: arch - state: absent - -- name: Create user for Dmitry Ilvokhin - ansible.builtin.user: - name: d - home: /home/d - groups: - - wheel - -- name: Setup SSH directory for Dmitry Ilvokhin - ansible.builtin.file: - path: /home/d/.ssh - state: directory - owner: d - group: d - mode: u+rw,g-wx,o-rwx - -- name: Update authorized_keys for Dmitry Ilvokhin - ansible.builtin.copy: - src: roles/essential/files/id_rsa.pub - dest: /home/d/.ssh/authorized_keys - owner: d - group: d - mode: u+rw,g-rwx,o-rwx +- ansible.builtin.include_tasks: roles/essential/tasks/packages.yml +- ansible.builtin.include_tasks: roles/essential/tasks/users.yml |