Authored by chunhua.zhang

add

... ... @@ -15,5 +15,5 @@ Requirements
传入参数:
'''
ansible-playbook playbooks/yoho.dns.yml -i inventories/test/hosts --extra-vars "{'db': {'cms': {'write':'127.0.0.1'} } }"
ansible-playbook playbooks/yoho.dns.yml -i inventories/test/hosts --extra-vars "db_cms_write=10.66.0.99 db_passport_write=10.66.0.105"
'''
\ No newline at end of file
... ...
... ... @@ -11,7 +11,7 @@
- name: get current time
set_fact:
timestamp: "{{ lookup('pipe','date +%Y-%m-%d-%H-%M-%S') }}"
timestamp: "{{ lookup('pipe','date +%Y-%m-%d %H:%M:%S') }}"
zone_serical: "{{ ansible_date_time.epoch }}"
- name: sync bind9 zone files
... ...