1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_collection_users.git synced 2024-08-16 10:29:50 +02:00
ansible_collection_users/roles/dotfiles/defaults/main.yml

71 lines
3.2 KiB
YAML
Raw Normal View History

2024-03-22 16:40:22 +01:00
---
# create users
l3d_users__default_users: []
# - name: 'alice'
# state: 'present'
# shell: '/bin/bash'
# create_home: true
# pubkeys: |
# ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPvvXN33GwkTF4ZOwPgF21Un4R2z9hWUuQt1qIfzQyhC
# ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAG65EdcM+JLv0gnzT9LcqVU47Pkw0SqiIg7XipXENi8
# ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJz7zEvUVgJJJsIgfG3izsqYcM22IaKz4jGVUbNRL2PX
# exclusive_pubkeys: true
2024-03-22 16:40:22 +01:00
# password: "$Password_hash"
# admin: true
# admin_commands: 'ALL'
# admin_nopassword: false
# admin_ansible_login: true
# bashrc:
# - '[[ $- == *i* ]] && eval $(keychain --eval --quiet id_ed25519)'
2024-03-22 16:40:22 +01:00
# - name: 'bob'
# state: 'present'
# shell: '/bin/zsh'
# admin: false
# pubkeys: "{{ lookup('url', 'https://github.com/do1jlr.keys', split_lines=False) }}"
# exclusive_pubkeys: false
2024-03-22 16:40:22 +01:00
l3d_users__local_users: []
# - name: 'charlie'
# state: 'present'
# admin: false
# pubkeys: "{{ lookup('url', 'https://github.com/do1jlr.keys', split_lines=False) }}"
2024-03-26 14:22:08 +01:00
l3d_users__bashrc: true
l3d_users__dotfiles__bash_completion_enabled: true
l3d_users__dotfiles__aliases:
- {alias: "ls", command: "ls ", color: true}
- {alias: "grep", command: "grep", color: true}
- {alias: "ll", command: "ls -alF", color: false}
- {alias: "la", command: "ls -A", color: false}
- {alias: "l", command: "ls -CF", color: false}
- {alias: "lz", command: "ls -Z", color: false}
- {alias: "EDITOR", command: "/usr/bin/vim", color: false}
- {alias: "VISUAL", command: "/usr/bin/gedit", color: false}
2024-04-06 22:59:38 +02:00
- {alias: "gitsubpull", command: "git submodule foreach '(git checkout \\$(git symbolic-ref --short refs/remotes/origin/HEAD | sed 's@^origin/@@'); git pull ; git submodule foreach \\\"(git checkout \\$(git symbolic-ref --short refs/remotes/origin/HEAD | sed 's@^origin/@@'); git pull)\\\")'", color: false}
- {alias: "pwgen", command: "/usr/bin/pwgen --num-passwords=3000 --numerals --capitalize --secure --no-vowels --ambiguous 95 1", color: false}
- {alias: "gdiff", command: "git diff --submodule=diff", color: false}
2024-04-25 00:53:27 +02:00
- {alias: "ip", command: "ip ", color: true}
2024-04-10 15:19:41 +02:00
l3d_users__dotfiles__additional_user_bashrc_lines: []
l3d_users__bashrc_path: "$HOME/.local/bin:$HOME/bin:$HOME/.cargo/env:$PATH"
# PS1 Prompt
l3d_users__dotfiles__user_prompt: '\e]0; \u@\H <\A> \w\a\[\033[01;33m\] $(printf "\xE2\x9D\xA4") \[\033[01;32m\]\u\[\033[01;36m\]@\[\033[01;32m\]\H\[\033[01;34m\] <\A> \[\033[01;35m\] \j \[\033[01;36m\] \w \[\033[01;33m\]\n\[\033[01;33m\] $(git branch 2>/dev/null | sed -n "s/* \(.*\)/\1 /p")$\[\033[01;00m\]'
l3d_users__dotfiles__root_prompt: '\e]0; \u@\H <\A> \w\a\[\033[01;31m\] $(printf "\xE2\x9D\xA4") \[\033[01;32m\]\u\[\033[01;36m\]@\[\033[01;32m\]\H\[\033[01;34m\] <\A> \[\033[01;35m\] \j \[\033[01;36m\] \w \[\033[01;33m\]\n\[\033[01;33m\] $(git branch 2>/dev/null | sed -n "s/* \(.*\)/\1 /p")$\[\033[01;00m\]'
# bash_history
l3d_users__dotfiles__history_control: 'ignoreboth'
l3d_users__dotfiles__history_size: '-1'
l3d_users__dotfiles__history_file_size: '-1'
2024-03-22 16:40:22 +01:00
2024-04-06 19:42:57 +02:00
# vim config
l3d_users__vimrc: true
2024-04-06 22:59:38 +02:00
l3d_users__vim_colorscheme: 'elflord'
2024-04-06 19:42:57 +02:00
2024-04-06 20:15:01 +02:00
# tmux config
l3d_users__tmuxcfg: true
2024-03-22 16:40:22 +01:00
# run simple versionscheck
submodules_versioncheck: false