ansible-install-rc-files-role/tasks/main.yml

26 lines
626 B
YAML
Raw Normal View History

2021-07-18 16:17:28 +02:00
---
# tasks file for install_rc_file
- name: Install p10k
ansible.builtin.git:
repo: https://gitee.com/romkatv/powerlevel10k.git
2021-07-18 16:55:57 +02:00
dest: "{{ rc_files_user_path }}/.oh-my-zsh/custom/themes/powerlevel10k"
2021-07-18 16:17:28 +02:00
depth: 1
- name: Install .zshrc
ansible.builtin.copy:
src: .zshrc
2021-07-18 16:55:57 +02:00
dest: "{{ rc_files_user_path }}/.zshrc"
2021-07-18 16:17:28 +02:00
mode: u=rw,g=r,o=r
- name: Install .p10k.zsh
ansible.builtin.copy:
src: .p10k.zsh
2021-07-18 16:55:57 +02:00
dest: "{{ rc_files_user_path }}/.p10k.zsh"
2021-07-18 16:17:28 +02:00
mode: u=rw,g=r,o=r
- name: Install .vimrc
ansible.builtin.copy:
src: .vimrc
2021-07-18 16:55:57 +02:00
dest: "{{ rc_files_user_path }}/.vimrc"
2021-07-18 16:17:28 +02:00
mode: u=rw,g=r,o=r