Files
oopen-server/roles/common/tasks/shell.yml
T
chris 81398e847e Refactor Ansible tasks to use fully qualified module names and improve code consistency
- Updated all tasks to use fully qualified module names (e.g., ansible.builtin.shell, ansible.builtin.copy) for clarity and to avoid ambiguity.
- Replaced deprecated 'yum' module with 'dnf' for package management on RedHat-based systems.
- Improved formatting and consistency in task definitions, including the use of double quotes for strings and consistent indentation.
- Removed unnecessary comments and whitespace to enhance readability.
- Ensured that conditions and loops are consistently formatted across all tasks.
2026-07-20 23:09:30 +02:00

37 lines
840 B
YAML

---
- name: (shell.yml) Set default VIM configuration - file /etc/vim/vimrc exists
ansible.builtin.copy:
src: "{{ item }}"
dest: /etc/vim/vimrc
owner: root
group: root
mode: "0644"
with_fileglob: "etc/vim/vimrc"
tags:
- shell-config
- vim-config
- name: (shell.yml) Set default VIM configuration - file /etc/vim/vimrc.local exists
ansible.builtin.copy:
src: "{{ item }}"
dest: /etc/vim/vimrc.local
owner: root
group: root
mode: "0644"
with_fileglob: "etc/vim/vimrc.local"
tags:
- shell-config
- vim-config
#- name: (shell.yml) Set default ZSH configuration - file /etc/zsh/zshrc
# copy:
# src: "{{ item }}"
# dest: /etc/zsh/zshrc
# owner: root
# group: root
# mode: '0644'
# with_fileglob: "etc/zsh/zshrc"
# tags:
# - shell-config
# - zsh-config