ansible/roles/container/tasks/main.yml

29 lines
859 B
YAML
Raw Normal View History

2014-08-06 06:15:21 +00:00
- name: Write pacman.conf
copy: src=pacman.conf dest=/etc/pacman.conf mode=0644
2014-09-07 06:53:20 +00:00
- name: Write mirrorlist
copy: src=mirrorlist dest=/etc/pacman.d/mirrorlist mode=0644
2014-08-18 08:12:20 +00:00
- 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
2014-08-23 18:15:50 +00:00
- 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
2014-09-07 06:53:58 +00:00
- name: deploy dotfiles
copy: src={{ item }} dest=/root/.{{ item }}
with_items:
- bashrc
- dircolors
- vimrc
2014-08-18 08:12:20 +00:00
- mount: name=/run/systemd/journal/ src=/mnt/journal fstype=none opts=bind,ro state=present
2014-09-07 06:53:58 +00:00
2014-08-23 18:15:50 +00:00
- name: backup directory
file: path=/root/.vim.backupdir state=directory