27 lines
921 B
YAML
27 lines
921 B
YAML
- name: Write pacman.conf
|
|
copy: src=pacman.conf dest=/etc/pacman.conf mode=0644
|
|
- name: Write mirrorlist
|
|
copy: src=mirrorlist dest=/etc/pacman.d/mirrorlist 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=/bin/bash
|
|
- name: delete oh-my-zsh repo
|
|
file: path=/root/.oh-my-zsh state=absent
|
|
- name: delete .zshrc
|
|
file: path=/root/.zshrs state=absent
|
|
- name: deploy .bashrc
|
|
copy: src=bashrc dest=/root/.bashrc
|
|
- name: deploy .dircolors
|
|
copy: src=dircolors dest=/root/.dircolors
|
|
- mount: name=/run/systemd/journal/ src=/mnt/journal fstype=none opts=bind,ro state=present
|
|
- name: deploy .vimrc
|
|
copy: src=vimrc dest=/root/.vimrc
|
|
- name: backup directory
|
|
file: path=/root/.vim.backupdir state=directory
|