- name: Write pacman.conf copy: src=pacman.conf dest=/etc/pacman.conf mode=0644 - name: Mask services file: src=/dev/null dest=/etc/systemd/system/{{ item }} state=link with_items: masked_services - name: Stop services service: name={{ item }} state=stopped enabled=no with_items: masked_services - user: name=root shell=/usr/bin/zsh - name: Clone oh-my-zsh repo git: repo=https://github.com/robbyrussell/oh-my-zsh.git dest=/root/.oh-my-zsh - name: deploy .zshrc copy: src=zshrc dest=/root/.zshrc - mount: name=/run/systemd/journal/ src=/mnt/journal fstype=none opts=bind,ro state=present - name: deploy .vimrc copy: src=vimrc dest=/root/.vimrc