yoho.dns.master_to_az2.yml 634 Bytes
---

# dns server reconfigure to match: mysql master switch to az2
- hosts: nameserver-master
  vars_prompt:
    - name: "confirmation"
      prompt: "Sync and reload dns server. Please Enter DNS to continue."
      private: no
  remote_user: root
  vars:
    db_cms_write: 10.66.106.11
    db_passport_write: 10.66.106.8
    db_shops_write: 10.66.106.3
    db_order_write: 10.66.106.13
    db_message_write: 10.66.106.5
    db_uic_write: 10.66.106.12
    db_ordersplit_1_write: 10.66.106.6
    db_ordersplit_2_write: 10.66.106.9
    db_ordersplit_3_write: 10.66.106.15
    db_ordersplit_4_write: 10.66.106.16
  roles:
    - yoho.dns