This commit is contained in:
2021-10-30 02:35:49 +02:00
parent ab2a578955
commit f662fe0f30
17 changed files with 807 additions and 81 deletions

View File

@ -61,7 +61,8 @@
#validate: visudo -cf %s
notify: Reload bind9
tags:
- sudoers-global-configuration
- apt-caching-nameserver
- caching-nameserver
- name: (caching-nameserver.yml) Add 127.0.0.1 as first nameserver entry to /etc/resolv.conf
@ -74,4 +75,6 @@
owner: root
group: root
mode: '0644'
tags:
- apt-caching-nameserver

View File

@ -29,6 +29,18 @@
tags: apt
# tags supported inside shell.yml
#
# vim-config
# zsh-config
#
- import_tasks: shell.yml
tags:
- shell-config
- vim-config
- zsh-config
# tags supported inside users.yml:
#
# users-exists

View File

@ -0,0 +1,38 @@
---
- name: (shell.yml) Set default VIM configuration - file /etc/vim/vimrc exists
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
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