+ installing tmux plugin manager for root_account role
+ starship install via yadm role (multi use installation) and installing Nerd Font * change straship character for not privileged user * fix path to normalized css for default nginx page * own custom roles (allow releaseinfo change and install locales) moved to playbooks dir #861m7vaer Шаблон операционной системы на Debian 10
This commit is contained in:
@ -81,7 +81,7 @@
|
||||
|
||||
- name: Copy normalized.css
|
||||
template:
|
||||
src: var/www/lxc_host/normalized.css
|
||||
src: var/www/lxc_host/normalize.css
|
||||
dest: '/var/www/{{ lxc_host }}/'
|
||||
mode: 0644
|
||||
owner: '{{ lxc_host }}'
|
||||
|
@ -15,6 +15,10 @@
|
||||
# root_account__dotfiles_enabled: True
|
||||
# root_account__dotfiles_repo: 'https://vcs.wpstudio.ru/gitea/dotfiles.git'
|
||||
|
||||
post_tasks:
|
||||
- name: Tmux Plugins Manager
|
||||
shell: git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins
|
||||
|
||||
roles:
|
||||
- role: root_account
|
||||
tags: [ 'role::root_account', 'skip::root_account' ]
|
||||
|
@ -18,6 +18,12 @@
|
||||
vars_files:
|
||||
- ./../vars/system_users.yml
|
||||
|
||||
post_tasks:
|
||||
- name: Change starship character to dollar sign
|
||||
shell: "sed -i 's/#/\\\\$/g' /home/{{ lxc_host }}/.config/starship.toml"
|
||||
args:
|
||||
executable: /bin/bash
|
||||
|
||||
roles:
|
||||
|
||||
- role: libuser
|
||||
|
@ -23,6 +23,36 @@
|
||||
yadm__default_dotfiles:
|
||||
- name: 'gitea'
|
||||
git: 'https://vcs.wpstudio.ru/gitea/dotfiles.git'
|
||||
yadm__packages:
|
||||
- curl
|
||||
- git
|
||||
- ncdu
|
||||
- fontconfig
|
||||
- vim
|
||||
- direnv
|
||||
|
||||
post_tasks:
|
||||
- name: Starship
|
||||
shell: |
|
||||
curl -sS https://starship.rs/install.sh | sh -s -- -f
|
||||
|
||||
- name: Nerd Font
|
||||
shell: |
|
||||
download_font () {
|
||||
url="https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/patched-fonts/SourceCodePro/Regular/complete/${1// /%20}"
|
||||
path="/usr/share/fonts/$1"
|
||||
curl -s -o "$path" "$url"
|
||||
}
|
||||
|
||||
install_fonts () {
|
||||
download_font "Sauce Code Pro Nerd Font Complete.ttf"
|
||||
|
||||
fc-cache -fv > /dev/null
|
||||
}
|
||||
|
||||
install_fonts
|
||||
args:
|
||||
executable: /bin/bash
|
||||
|
||||
roles:
|
||||
- role: keyring
|
||||
|
Reference in New Issue
Block a user