mirror of
https://gitlab.com/sagidayan/linux-config.git
synced 2024-12-23 06:29:53 +00:00
57 lines
1.1 KiB
YAML
57 lines
1.1 KiB
YAML
- name: Installing packages
|
|
become: true
|
|
package:
|
|
name:
|
|
- curl
|
|
- bat
|
|
- wget
|
|
- git
|
|
# - podman
|
|
state: present
|
|
|
|
- name: Copy gitconfig base
|
|
copy:
|
|
src: dotfiles/gitconfig
|
|
dest: ~/.gitconfig
|
|
force: no
|
|
|
|
- name: Copy zsh config
|
|
copy:
|
|
src: dotfiles/zshrc
|
|
dest: ~/.zshrc
|
|
force: yes
|
|
|
|
- name: Verifying shell config folder
|
|
file:
|
|
path: ~/.shellconfig
|
|
state: directory
|
|
|
|
- name: Verify custom shell config
|
|
copy:
|
|
src: dotfiles/shellconfig/custom.sh
|
|
dest: ~/.shellconfig/custom.sh
|
|
force: no
|
|
|
|
- name: Copy shell aliases
|
|
copy:
|
|
src: dotfiles/shellconfig/aliases.sh
|
|
dest: ~/.shellconfig/aliases.sh
|
|
force: yes
|
|
|
|
- name: Copy shell functions
|
|
copy:
|
|
src: dotfiles/shellconfig/functions.sh
|
|
dest: ~/.shellconfig/functions.sh
|
|
force: yes
|
|
|
|
- name: Copy shell environment
|
|
copy:
|
|
src: dotfiles/shellconfig/environment.sh
|
|
dest: ~/.shellconfig/environment.sh
|
|
force: yes
|
|
|
|
- name: verify Bat (better Cat) theme
|
|
ansible.builtin.lineinfile:
|
|
path: "~/.shellconfig/environment.sh"
|
|
regexp: "^export BAT_THEME="
|
|
line: 'export BAT_THEME="${{theme}}"'
|