diff options
author | Sacha Chua <sacha@sachachua.com> | 2022-10-31 21:53:15 -0400 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2022-10-31 21:53:15 -0400 |
commit | 4696aa1fed214fe1084d7c3deecaaa289bc0a1fd (patch) | |
tree | fa0d7d2d121cfe2787b1f1a94b2328aeff73c724 /roles/obs/tasks/user.yml | |
parent | b8c97d14ed81871eef51ba7253982c45258ec538 (diff) | |
download | emacsconf-ansible-4696aa1fed214fe1084d7c3deecaaa289bc0a1fd.tar.xz emacsconf-ansible-4696aa1fed214fe1084d7c3deecaaa289bc0a1fd.zip |
Update OBS, renamepublish and edit
Diffstat (limited to '')
-rw-r--r-- | roles/obs/tasks/user.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/obs/tasks/user.yml b/roles/obs/tasks/user.yml index c1493dd..a941d7f 100644 --- a/roles/obs/tasks/user.yml +++ b/roles/obs/tasks/user.yml @@ -2,9 +2,11 @@ group: name: "{{ emacsconf_group }}" - name: Add user + tags: wip user: name: "{{ emacsconf_user }}" group: "{{ emacsconf_group }}" + shell: /bin/bash # password: "{{ emacsconf_unix_password }}" - name: Create SSH folder file: @@ -23,3 +25,15 @@ recurse: true owner: "{{ emacsconf_user }}" mode: "u+rwX,g-rwx,o-rwx" +- name: Create bin dir + file: + path: "/home/{{ emacsconf_user }}/bin" + state: directory + owner: "{{ emacsconf_user }}" +- name: Set up bashrc + template: + src: bashrc + dest: "/home/{{ emacsconf_user }}/.bashrc" + owner: "{{ emacsconf_user }}" + group: "{{ emacsconf_group }}" + |