update..
This commit is contained in:
@ -26,11 +26,26 @@
|
||||
# apt-autoremove
|
||||
# apt-clean
|
||||
- import_tasks: apt.yml
|
||||
when:
|
||||
- ansible_facts['distribution'] == "Debian"
|
||||
tags: apt
|
||||
|
||||
#
|
||||
# yum-update
|
||||
# yum-base-install
|
||||
# yum-initial-install
|
||||
- import_tasks: yum.yml
|
||||
when:
|
||||
- ansible_os_family == "RedHat"
|
||||
- ansible_distribution == "CentOS"
|
||||
tags: yum
|
||||
|
||||
|
||||
|
||||
- import_tasks: tor.yml
|
||||
when: inventory_hostname in groups['mail_server']
|
||||
when:
|
||||
- inventory_hostname in groups['mail_server']
|
||||
- ansible_facts['distribution'] == "Debian"
|
||||
tags:
|
||||
- tor-service
|
||||
|
||||
@ -44,6 +59,8 @@
|
||||
# zsh-config
|
||||
#
|
||||
- import_tasks: shell.yml
|
||||
when:
|
||||
- ansible_facts['distribution'] == "Debian"
|
||||
tags:
|
||||
- shell-config
|
||||
- vim-config
|
||||
@ -208,7 +225,23 @@
|
||||
# tags supportetd inside caching-nameserver.yml
|
||||
#
|
||||
# apt-caching-nameserver
|
||||
# yum-caching-nameserver
|
||||
#
|
||||
- import_tasks: caching-nameserver.yml
|
||||
when: groups['caching_nameserver']|string is search(inventory_hostname)
|
||||
tags: caching-nameserver
|
||||
|
||||
|
||||
- import_tasks: systemd-services_debian_based_OS.yml
|
||||
when:
|
||||
- ansible_os_family == "Debian"
|
||||
tags:
|
||||
- services
|
||||
|
||||
|
||||
- import_tasks: systemd-services_redhat_based_OS.yml
|
||||
when:
|
||||
- ansible_os_family == "RedHat"
|
||||
tags:
|
||||
- services
|
||||
|
||||
|
Reference in New Issue
Block a user