first commit

This commit is contained in:
Vakhtang Gvenetadze
2025-03-31 12:34:39 +04:00
commit 3fd2f6bdde
59 changed files with 2017 additions and 0 deletions

View File

@ -0,0 +1,38 @@
Role Name
=========
A brief description of the role goes here.
Requirements
------------
Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.
Role Variables
--------------
A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.
Dependencies
------------
A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.
Example Playbook
----------------
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: username.rolename, x: 42 }
License
-------
BSD
Author Information
------------------
An optional section for the role authors to include contact information, or a website (HTML is not allowed).

View File

@ -0,0 +1,2 @@
---
# defaults file for profile_settings

View File

@ -0,0 +1,5 @@
[user]
name = Vakhtang Gvenetadze
email = 8927096+vakhtangst@users.noreply.github.com
[init]
defaultBranch = main

View File

@ -0,0 +1,106 @@
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
#ZSH_THEME="philips"
#ZSH_THEME="eastwood"
ZSH_THEME="gentoo"
# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
# a theme from this variable instead of looking in $ZSH/themes/
# If set to an empty array, this variable will have no effect.
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" "dpoggi" "eastwood" "gentoo" )
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"
# Uncomment one of the following lines to change the auto-update behavior
# zstyle ':omz:update' mode disabled # disable automatic updates
# zstyle ':omz:update' mode auto # update automatically without asking
# zstyle ':omz:update' mode reminder # just remind me to update when it's time
# Uncomment the following line to change how often to auto-update (in days).
# zstyle ':omz:update' frequency 13
# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"
# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"
# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion.
# You can also set it to another string to have that shown instead of the default red dots.
# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f"
# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765)
# COMPLETION_WAITING_DOTS="true"
# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"
# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# You can set one of the optional three formats:
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# or set a custom format using the strftime function format specifications,
# see 'man strftime' for details.
HIST_STAMPS="yyyy-mm-dd"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git tmux terraform)
source $ZSH/oh-my-zsh.sh
# User configuration
# export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='mvim'
# fi
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
alias set_aws_sre='export AWS_PROFILE=sre && eval $(assume-role -duration=12h sre-role) && aws sts get-caller-identity'
#eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"

View File

@ -0,0 +1,13 @@
#!/bin/bash
rmmod btusb
sleep 1
rmmod btrtl
sleep 1
rmmod btbcm
sleep 1
rmmod btintel
sleep 1
rmmod btmtk
sleep 1
modprobe btusb

View File

@ -0,0 +1,98 @@
[remmina]
password=.
gateway_username=gvenetadze.v
notes_text=
window_height=1431
vc=
preferipv6=0
ssh_tunnel_loopback=0
serialname=
tls-seclevel=
freerdp_log_level=INFO
printer_overrides=
name=rdfarm-ams2-1.offilan.com
console=0
colordepth=32
security=ext
precommand=
disable_fastpath=0
postcommand=
left-handed=0
multitransport=1
group=
server=rdfarm-ams2-1.offilan.com
ssh_tunnel_certfile=
glyph-cache=0
ssh_tunnel_enabled=0
disableclipboard=0
labels=
audio-output=
ssh_tunnel_command=
monitorids=
cert_ignore=1
disconnect-prompt=0
parallelpath=
protocol=RDP
serialpermissive=0
old-license=0
ssh_tunnel_password=
resolution_mode=1
assistance_mode=0
pth=
disableautoreconnect=0
loadbalanceinfo=tsv://MS Terminal Services Plugin.1.FreelanceDesktop
clientbuild=
gateway_server=rdgw.offilan.com
clientname=
resolution_width=0
drive=
relax-order-checks=0
base-cred-for-gw=0
gateway_domain=office.lan
profile-lock=0
rdp2tcp=
gateway_password=.
rdp_reconnect_attempts=
domain=office.lan
serialdriver=
restricted-admin=0
smartcardname=
multimon=0
exec=
network=none
username=gvenetadze.v
enable-autostart=0
usb=
shareprinter=0
ssh_tunnel_passphrase=
viewmode=4
quality=0
span=0
disablepasswordstoring=0
parallelname=
serialpath=
shareparallel=0
ssh_tunnel_auth=0
keymap=
ssh_tunnel_username=
execpath=
shareserial=0
resolution_height=0
rdp_mouse_jitter=No
useproxyenv=0
dvc=
microphone=
no-suppress=0
disable-smooth-scrolling=0
window_maximize=0
freerdp_log_filters=
ssh_tunnel_server=
ignore-tls-errors=1
sharesmartcard=0
gateway_usage=1
timeout=
ssh_tunnel_privatekey=
window_width=2603
sound=local
websockets=0
gwtransp=auto

View File

@ -0,0 +1,98 @@
[remmina]
password=.
gateway_username=
notes_text=
vc=
window_width=1814
window_height=1029
preferipv6=0
ssh_tunnel_loopback=0
serialname=
tls-seclevel=
websockets=0
printer_overrides=
name=stg-msk-ts0.telecontact.su
console=0
colordepth=99
security=
precommand=
disable_fastpath=0
left-handed=0
postcommand=
multitransport=1
group=
server=stg-msk-ts0.telecontact.su
ssh_tunnel_command=
glyph-cache=0
ssh_tunnel_enabled=0
disableclipboard=0
disconnect-prompt=0
parallelpath=
audio-output=
monitorids=
cert_ignore=0
serialpermissive=0
gateway_server=
protocol=RDP
ssh_tunnel_password=
labels=
ssh_tunnel_certfile=
resolution_mode=2
assistance_mode=0
old-license=0
pth=
loadbalanceinfo=
disableautoreconnect=0
clientbuild=
clientname=
resolution_width=0
drive=
relax-order-checks=0
base-cred-for-gw=0
gateway_domain=
network=none
rdp2tcp=
gateway_password=
rdp_reconnect_attempts=
domain=telecontact.su
serialdriver=
username=v.gvenetadze
multimon=0
serialpath=
exec=
smartcardname=
restricted-admin=0
enable-autostart=0
usb=
ssh_tunnel_passphrase=
disablepasswordstoring=0
shareprinter=0
shareparallel=0
quality=0
profile-lock=0
viewmode=4
span=0
parallelname=
ssh_tunnel_auth=0
keymap=
ssh_tunnel_username=
execpath=
shareserial=0
resolution_height=0
rdp_mouse_jitter=No
useproxyenv=0
sharesmartcard=0
freerdp_log_filters=
microphone=
timeout=
ssh_tunnel_privatekey=
gwtransp=auto
ssh_tunnel_server=
ignore-tls-errors=1
window_maximize=0
dvc=
gateway_usage=0
disable-smooth-scrolling=0
no-suppress=0
freerdp_log_level=INFO
sound=off

View File

@ -0,0 +1,100 @@
[remmina]
password=.
gateway_username=
notes_text=
vc=
window_height=1029
preferipv6=0
ssh_tunnel_loopback=0
serialname=
tls-seclevel=
sound=off
printer_overrides=
name=tc-mix-rds6.telecontact.ru
console=0
colordepth=32
security=ext
precommand=
disable_fastpath=0
postcommand=
left-handed=0
multitransport=1
group=
server=tc-mix-rds6.telecontact.ru
ssh_tunnel_certfile=
glyph-cache=0
ssh_tunnel_enabled=0
disableclipboard=0
disconnect-prompt=0
audio-output=
ssh_tunnel_command=
monitorids=
cert_ignore=0
labels=
parallelpath=
protocol=RDP
old-license=0
ssh_tunnel_password=
resolution_mode=0
assistance_mode=0
pth=
disableautoreconnect=0
loadbalanceinfo=
clientbuild=
gateway_server=
clientname=
resolution_width=2560
drive=
serialpermissive=0
relax-order-checks=0
base-cred-for-gw=0
gateway_domain=
profile-lock=0
rdp2tcp=
gateway_password=
serialdriver=
domain=telecontact.ru
rdp_reconnect_attempts=
smartcardname=
exec=
restricted-admin=0
network=none
serialpath=
enable-autostart=0
multimon=0
usb=
shareprinter=0
ssh_tunnel_passphrase=
username=v.gvenetadze
disablepasswordstoring=0
quality=0
span=0
shareparallel=0
parallelname=
viewmode=4
execpath=
ssh_tunnel_auth=0
ssh_tunnel_username=
sharesmartcard=0
keymap=
resolution_height=1440
shareserial=0
useproxyenv=0
dvc=
no-suppress=0
rdp_mouse_jitter=No
authentication level=2
keyboard_grab=0
window_maximize=0
freerdp_log_filters=
ssh_tunnel_server=
ignore-tls-errors=1
ssh_tunnel_privatekey=
gateway_usage=0
timeout=
gwtransp=http
window_width=2152
microphone=
freerdp_log_level=INFO
websockets=0
disable-smooth-scrolling=0

View File

@ -0,0 +1,27 @@
[General]
BackupBeforeSave=true
ConfigVersion=2
UpdateCheckMessageShown=true
[Browser]
CustomProxyLocation=
Enabled=true
[GUI]
TrayIconAppearance=monochrome-light
[KeeShare]
Active="<?xml version=\"1.0\"?><KeeShare><Active/></KeeShare>\n"
Own="<?xml version=\"1.0\"?><KeeShare><PrivateKey>MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCsB+u9lUOV23CDj3g5FSrVOufzb9xEhnGLT0UV3Y0nMcgGRNRV2rdUNraT1S0bP+DgDH4K2lxfXJGSsgahaZ8guGdrZabEU+3F0ConcDzSvln4Y2ji21TWn8GyE4Ur3zuLMWQnJRn8iJgp+nbtanD3WKM1LBjLoz0SjiKVWBr2QZjT/Kf0EHFm8uUMA2qaDUAL07tVmKELgQn5TDNe2lFyqBKqgFiDBTrSaTZ7gIHytizz0vAzn6mwc+bhzuq+rdI+FbHpJ2oD6wR+O6p9wmLVVVVCWUzxo/TCzd70fcx3Bgg02iilJAIGewU5lClYReUezgAS6y72A/ZAhsRTm3YPAgMBAAECggEAHD50AgfIIAn2TTtDDJ2A5J+hERLmpz+AKSmbbkLA19RbV/V5URvcKTuPD/LEzupWxCIjmCo6q+jETmvjx8t8teq2Br1v5bWL3lmAxOyEp+sFqtC+GdoocdD/2aSieCNUoNPmnWtWJWPTFmKfSk0ap+7JuO34/Nyw/GNmon4OddXmqx2480ZfbYMij9Ym2HmoDZBCEswAy6aiaDW9D6mo+p8RxIz+gaGj/DUOH0Jjs0F5Yu+ZoiJQpfvhBCUBRD0zUEhCTlD9wVWJthYRrrBgT9Tcs1Gt9xvXEfJS6toW5ktOZOPat0lQzjxKsUdNp54ywAQmeMxQtnLiHoWN44RG6QKBgQDSnhX1la2vXpsj4N4kl61ybTpR5sTF2NoaeSwr/7a4EYwy7kbGVnLH75yzp3sEHn0brzxzelL2VQZ/LkR5X6zRz6tNq9IcYJtx072lH0ZhPPGaYmYe8E5EgYjipCO0WJ3SaH63skyvwnM0Cw/1l00bsd3iK/oIFX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kFu/nrwz4JtBzQY0WT22gR+q8MXmWXa0CgYBR+QZM3qw9gcXp81GrFGFJM19DKZuW5XieZwu3NLkqmhCl4RbnCSVKJyYku9BCQfiDrfrp9fdjAYFXY5P065MH5x3xI922g6PDVA3ZG7e/78EMgKtkggygDRubUdVFxtN5lr2X1XRtgTx1kRJPxVbAnvPDMQZZ3eyuKumcZ40eKQ==</Key></PublicKey></KeeShare>\n"
QuietSuccess=true
[PasswordGenerator]
AdditionalChars=
ExcludedChars=
SpecialChars=false
[SSHAgent]
Enabled=true
[Security]
LockDatabaseScreenLock=false

View File

@ -0,0 +1,5 @@
[libdefaults]
default_realm = TELECONTACT.RU
dns_lookup_kdc = 0
permitted_enctypes = aes256-cts-hmac-sha1-96
rdns = false

View File

@ -0,0 +1,125 @@
[remmina_pref]
secret=NYRWDIPTzCLTWpe6RH7iV5PAESzdhAJfWYYaes2Xj8w=
datadir_path=
remmina_file_name=%G_%P_%N_%h
screenshot_path=/home/vakhtang/Pictures
screenshot_name=remmina_%p_%h_%Y%m%d-%H%M%S
deny_screenshot_clipboard=true
save_view_mode=true
confirm_close=true
use_primary_password=false
unlock_timeout=300
unlock_password=
lock_connect=false
lock_edit=false
enc_mode=1
audit=false
trust_all=false
floating_toolbar_placement=0
toolbar_placement=3
prevent_snap_welcome_message=false
last_quickconnect_protocol=
fullscreen_on_auto=true
always_show_tab=true
hide_connection_toolbar=false
hide_searchbar=false
default_action=0
scale_quality=3
ssh_loglevel=1
ssh_parseconfig=true
hide_toolbar=false
small_toolbutton=false
view_file_mode=0
resolutions=640x480,800x600,1024x768,1152x864,1280x960,1400x1050,2560x1440
keystrokes=Send hello world§hello world\\n
main_width=656
main_height=400
main_maximize=false
main_sort_column_id=1
main_sort_order=0
expanded_group=
toolbar_pin_down=false
sshtunnel_port=4732
ssh_tcp_keepidle=20
ssh_tcp_keepintvl=10
ssh_tcp_keepcnt=3
ssh_tcp_usrtimeout=60000
applet_new_ontop=false
applet_hide_count=false
applet_enable_avahi=false
disable_tray_icon=false
dark_theme=false
recent_maximum=10
default_mode=0
tab_mode=0
fullscreen_toolbar_visibility=0
auto_scroll_step=10
hostkey=65508
shortcutkey_fullscreen=102
shortcutkey_autofit=49
shortcutkey_nexttab=65363
shortcutkey_prevtab=65361
shortcutkey_scale=115
shortcutkey_grab=65508
shortcutkey_multimon=65365
shortcutkey_viewonly=109
shortcutkey_screenshot=65481
shortcutkey_minimize=65478
shortcutkey_disconnect=65473
shortcutkey_toolbar=116
vte_shortcutkey_copy=99
vte_shortcutkey_paste=118
vte_shortcutkey_select_all=97
vte_shortcutkey_increase_font=65365
vte_shortcutkey_decrease_font=65366
vte_shortcutkey_search_text=103
vte_font=
grab_color=#00ff00
grab_color_switch=false
vte_allow_bold_text=true
vte_lines=512
lock_view_passwords=false
always_show_notes=false
shortcutkey_clipboard=98
[ssh_colors]
background=#d5ccba
cursor=#45373c
cursor_foreground=#d5ccba
highlight=#45373c
highlight_foreground=#d5ccba
colorBD=#45373c
foreground=#45373c
color0=#20111b
color1=#be100e
color2=#858162
color3=#eaa549
color4=#426a79
color5=#97522c
color6=#989a9c
color7=#968c83
color8=#5e5252
color9=#be100e
color10=#858162
color11=#eaa549
color12=#426a79
color13=#97522c
color14=#989a9c
color15=#d5ccba
[remmina_news]
periodic_news_permitted=true
periodic_rmnews_last_get=1725296854
periodic_rmnews_get_count=2
periodic_rmnews_uuid_prefix=MFNREM1UOND0XI
[remmina]
name=
ignore-tls-errors=1
[remmina_info]
periodic_news_permitted=false
periodic_news_last_checksum=
periodic_usage_stats_permitted=false
info_uid_prefix=6ITJBAKMW21M99
disable_tip=true

View File

@ -0,0 +1,2 @@
---
# handlers file for profile_settings

View File

@ -0,0 +1,34 @@
galaxy_info:
author: your name
description: your role description
company: your company (optional)
# If the issue tracker for your role is not on github, uncomment the
# next line and provide a value
# issue_tracker_url: http://example.com/issue/tracker
# Choose a valid license ID from https://spdx.org - some suggested licenses:
# - BSD-3-Clause (default)
# - MIT
# - GPL-2.0-or-later
# - GPL-3.0-only
# - Apache-2.0
# - CC-BY-4.0
license: license (GPL-2.0-or-later, MIT, etc)
min_ansible_version: 2.1
# If this a Container Enabled role, provide the minimum Ansible Container version.
# min_ansible_container_version:
galaxy_tags: []
# List tags for your role here, one per line. A tag is a keyword that describes
# and categorizes the role. Users find roles by searching for tags. Be sure to
# remove the '[]' above, if you add tags to this list.
#
# NOTE: A tag is limited to a single word comprised of alphanumeric characters.
# Maximum 20 tags per role.
dependencies: []
# List your role dependencies here, one per line. Be sure to remove the '[]' above,
# if you add dependencies to this list.

View File

@ -0,0 +1,124 @@
---
# tasks file for profile_settings
- name: Make scripts dir
file:
path: "{{ ansible_env.HOME }}/scripts"
state: directory
- name: Copy bt_reconnect script
copy:
src: bt_reconnect.sh
dest: "{{ ansible_env.HOME }}/scripts/"
- name: Copy .gitconfig
copy:
src: .gitconfig
dest: "{{ ansible_env.HOME }}/.gitconfig"
- name: Make secret dir
file:
path: "{{ ansible_env.HOME }}/secrets"
state: directory
- name: Make bin dir
file:
path: "{{ ansible_env.HOME }}/bin"
state: directory
- name: Create a symbolic link on terraform
ansible.builtin.file:
src: "~/.tfenv/bin/terraform"
dest: "~/.local/bin/terraform"
state: link
- name: Copy remmina config for rdfarm
copy:
src: group_rdp_rdfarm-ams2-1-offilan-com_rdfarm-ams2-1-offilan-com.remmina
dest: "{{ ansible_env.HOME }}/.local/share/remmina/"
- name: Copy remmina config for ts0
copy:
src: group_rdp_stg-msk-ts0-telecontact-su_stg-msk-ts0-telecontact-su.remmina
dest: "{{ ansible_env.HOME }}/.local/share/remmina/"
- name: Copy remmina config for rds6
copy:
src: group_rdp_tc-mix-rds6-telecontact-ru_tc-mix-rds6-telecontact-ru.remmina
dest: "{{ ansible_env.HOME }}/.local/share/remmina/"
- name: Copy remmina pref
copy:
src: remmina.pref
dest: "{{ ansible_env.HOME }}/.config/remmina/"
- name: Create a symbolic link on keepassxc
ansible.builtin.file:
src: "/opt/apps/keepassxc/keepassxc"
dest: "~/.local/bin/keepassxc"
state: link
- name: Copy keepassxc config
copy:
src: keepassxc.ini
dest: "{{ ansible_env.HOME }}/.config/keepassxc/"
- name: Create a symbolic link on nextcloud
ansible.builtin.file:
src: "/opt/apps/nextcloud/nextcloud"
dest: "~/.local/bin/nextcloud"
state: link
- name: Create a symbolic link on telegram
ansible.builtin.file:
src: "/opt/apps/Telegram/Telegram"
dest: "~/.local/bin/telegram"
state: link
- name: Make cybrnx dir
file:
path: "{{ ansible_env.HOME }}/Projects/c/cybrnx/"
state: directory
recurse: true
- name: Clone git repository terraform-applications
ansible.builtin.git:
repo: 'git@github.com:cybrnx/terraform-applications.git'
dest: "{{ ansible_env.HOME }}/Projects/c/cybrnx/terraform-applications"
update: no
- name: Clone git repository terraform-bootstrap
ansible.builtin.git:
repo: 'git@github.com:cybrnx/terraform-bootstrap.git'
dest: "{{ ansible_env.HOME }}/Projects/c/cybrnx/terraform-bootstrap"
update: no
- name: Clone git repository terraform-modules
ansible.builtin.git:
repo: 'git@github.com:cybrnx/terraform-modules.git'
dest: "{{ ansible_env.HOME }}/Projects/c/cybrnx/terraform-modules"
update: no
- name: Clone git repository terraform-operations
ansible.builtin.git:
repo: 'git@github.com:cybrnx/terraform-operations.git'
dest: "{{ ansible_env.HOME }}/Projects/c/cybrnx/terraform-operations"
update: no
- name: Clone git repository terraform-organization
ansible.builtin.git:
repo: 'git@github.com:cybrnx/terraform-organization.git'
dest: "{{ ansible_env.HOME }}/Projects/c/cybrnx/terraform-organization"
update: no
- name: Clone git repository terraform-organizatiom for VSCode
ansible.builtin.git:
repo: 'https://github.com/hariscodes/vscode-language-terraform'
dest: "{{ ansible_env.HOME }}/.vscode/extensions/vscode-language-terraform"
update: no
# Setting oh-my-zsh
- name: Clone git repository terraform-organizatiom for VSCode
ansible.builtin.git:
repo: 'https://github.com/ohmyzsh/ohmyzsh'
dest: "{{ ansible_env.HOME }}/.oh-my-zsh/"
- name: Copy .zshrc
copy:
src: .zshrc
dest: "{{ ansible_env.HOME }}/.zshrc"
- name: change user shell to zsh
become: yes
user:
name: "vakhtang"
shell: /bin/zsh
- name: Copy krb5.conf
copy:
src: krb5.conf
dest: "/etc/krb5.conf"
# Apply profile
- name: Apply profile
shell: source ~/.profile
args:
executable: /bin/bash
# - name: Run Oh My Zsh installation script
# command: sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" --unattended
# register: ohmyzsh_result
# failed_when: "'FAILED' in ohmyzsh_result.stderr"

View File

@ -0,0 +1,2 @@
localhost

View File

@ -0,0 +1,5 @@
---
- hosts: localhost
remote_user: root
roles:
- profile_settings

View File

@ -0,0 +1,2 @@
---
# vars file for profile_settings