2018-10-05 21:42:52 +08:00
|
|
|
---
|
2018-10-10 01:38:51 +08:00
|
|
|
- name: include_tasks configure_firewall.yml
|
|
|
|
include_tasks: configure_firewall.yml
|
2018-10-05 21:42:52 +08:00
|
|
|
when:
|
|
|
|
- configure_firewall
|
|
|
|
- ansible_os_family in ['RedHat', 'Suse']
|
2018-10-10 02:02:04 +08:00
|
|
|
tags: configure_firewall
|
2018-10-05 21:42:52 +08:00
|
|
|
|
|
|
|
- name: include_tasks "ntp_debian.yml"
|
|
|
|
include_tasks: "ntp_debian.yml"
|
|
|
|
when:
|
|
|
|
- ansible_os_family == 'Debian'
|
|
|
|
- ntp_service_enabled
|
2018-10-10 02:02:04 +08:00
|
|
|
tags: configure_ntp
|
2018-10-05 21:42:52 +08:00
|
|
|
|
|
|
|
- name: include_tasks "ntp_rpm.yml"
|
|
|
|
include_tasks: "ntp_rpm.yml"
|
|
|
|
when:
|
|
|
|
- ansible_os_family in ['RedHat', 'Suse']
|
2018-10-10 01:38:51 +08:00
|
|
|
- ntp_service_enabled
|
2018-10-10 02:02:04 +08:00
|
|
|
tags: configure_ntp
|