---
# tasks file for yoho.
- 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
template:
src: qcloud.zone.j2
dest: /tmp/qlcoud.zone.new