...
|
...
|
@@ -12,9 +12,14 @@ |
|
|
msg: "user do not type DNS"
|
|
|
when: confirmation != 'DNS'
|
|
|
|
|
|
- name: get current time
|
|
|
set_fact:
|
|
|
timestamp: "{{ lookup('pipe','date +%Y-%m-%d-%H-%M-%S') }}"
|
|
|
zone_serical: "{{ ansible_date_time.epoch }}"
|
|
|
|
|
|
- name: Sync bind9 zone files
|
|
|
copy:
|
|
|
src: media.zone
|
|
|
template:
|
|
|
src: media.zone.j2
|
|
|
dest: /Data/named/aws.zone
|
|
|
backup: yes
|
|
|
|
...
|
...
|
|