2021-10-22 11:45:20 +00:00
|
|
|
- name: Installing packages
|
|
|
|
become: true
|
|
|
|
package:
|
|
|
|
name:
|
|
|
|
- curl
|
|
|
|
- bat
|
|
|
|
- wget
|
|
|
|
- git
|
2021-10-30 07:18:46 +00:00
|
|
|
- podman
|
|
|
|
- flatpak
|
2021-10-22 11:45:20 +00:00
|
|
|
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: Sync Common shell settings...
|
|
|
|
copy:
|
|
|
|
src: dotfiles/shellconfig/common.sh
|
|
|
|
dest: ~/.shellconfig/common.sh
|
|
|
|
force: yes
|
|
|
|
|
|
|
|
- name: verify Bat (better Cat) theme
|
|
|
|
ansible.builtin.lineinfile:
|
|
|
|
path: "~/.shellconfig/common.sh"
|
|
|
|
regexp: "^export BAT_THEME="
|
|
|
|
line: 'export BAT_THEME="${{theme}}"'
|
|
|
|
|
|
|
|
- name: Copy shell aliases
|
|
|
|
copy:
|
|
|
|
src: dotfiles/shellconfig/aliases.sh
|
|
|
|
dest: ~/.shellconfig/aliases.sh
|
|
|
|
force: no
|
|
|
|
|
|
|
|
- name: Copy shell functions
|
|
|
|
copy:
|
|
|
|
src: dotfiles/shellconfig/functions.sh
|
|
|
|
dest: ~/.shellconfig/functions.sh
|
|
|
|
force: no
|
|
|
|
|
|
|
|
- name: Copy shell environment
|
|
|
|
copy:
|
|
|
|
src: dotfiles/shellconfig/environment.sh
|
|
|
|
dest: ~/.shellconfig/environment.sh
|
|
|
|
force: no
|
|
|
|
|