yoho.dns.mysql_read_to_master.yml 609 Bytes
---

# dns server reconfigure to match: mysql read to master
- 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_read: 10.66.0.99
    db_passport_read: 10.66.0.105
    db_shops_read: 10.66.0.213
    db_order_read: 10.66.0.170
    db_message_read: 10.67.2.103
    db_uic_read: 10.66.6.136
    db_ordersplit_1_read: 10.66.0.57
    db_ordersplit_2_read: 10.66.0.81
    db_ordersplit_3_read: 10.66.0.98
    db_ordersplit_4_read: 10.66.0.121
  roles:
    - yoho.dns