- name: create user plom with sudo privileges and bash shell
user: name=plom groups=sudo shell=/bin/bash
- name: have config repo in user directory
- git: repo=git://github.com/plomlompom/config dest=/home/plom/config
+ git: repo=https://github.com/plomlompom/config dest=/home/plom/config
become_user: plom
become_method: su
file: state=directory dest=~/.vimbackups
- name: Ensure dotfile symlinks
file: state=link force=yes src={{item}} dest=~/.{{item|basename}}
- - ~/configdotfiles/minimal/*
- - ~/configdotfiles/user/minimal/*
- - ~/configdotfiles/user/thinkpad/minimal/*
+ with_fileglob:
+ - ~/config/dotfiles/minimal/*
+ - ~/config/dotfiles/user/thinkpad/minimal/*