#!/usr/bin/env ansible-playbook

---
- name: bs_test_server_fix
  hosts: dev
  gather_facts: false
  become: yes
  become_user: root

  tasks:

    # Правильный IP адрес можно найти в логе сборки
    # https://qabs-bamboo.yandex-team.ru/browse/TRANSPORT-PIINT/

    - lineinfile: >
        dest=/etc/hosts
        regexp=bssoap-pi-integration-bssoap-bambino-bmb
        line="5.255.244.28 bssoap-pi-integration-bssoap-bambino-bmb.haze.yandex.net"
