main.yml 212 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 --- # tasks file for yoho. - name: get local time set_fact: time = "{{lookup('pipe','date \"+%Y-%m-%d %H:%M\"')}}" - name: sync bind9 zone files template: src: qcloud.zone.j2 dest: /tmp/qlcoud.zone