diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-09-10 11:55:05 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-09-10 11:55:05 +0300 |
commit | 90d093d836938a29161e6fbc73ad0cbafbd3bb0d (patch) | |
tree | d812bf0a1c8c773a7f6d587e1b3e7f8b7f04a8ed /ansible/roles/liw | |
parent | 31ba9ceb8efaf3d138bf07a4fd34049f16a3074e (diff) | |
download | ansibleness-90d093d836938a29161e6fbc73ad0cbafbd3bb0d.tar.gz |
liw role: create ~liw/src and ~liw/cargo
Sponsored-by: author
Diffstat (limited to 'ansible/roles/liw')
-rw-r--r-- | ansible/roles/liw/tasks/main.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ansible/roles/liw/tasks/main.yml b/ansible/roles/liw/tasks/main.yml index f367953..730ee60 100644 --- a/ansible/roles/liw/tasks/main.yml +++ b/ansible/roles/liw/tasks/main.yml @@ -2,3 +2,13 @@ shell: | if ! [ -e /home/liw/.config ]; then sudo -u liw -i git clone git://git.liw.fi/liw-dot-files; fi sudo -u liw -i bash -c "pwd && ./liw-dot-files/make-symlinks" + +- name: "create ~liw/src and ~liw/cargo" + file: + state: directory + name: "/home/liw/{{ item }}" + owner: liw + group: liw + with_list: + - src + - cargo |