update..
This commit is contained in:
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
38
roles/common/tasks/shell.yml
Normal file
38
roles/common/tasks/shell.yml
Normal 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
|
Reference in New Issue
Block a user