summaryrefslogtreecommitdiff
path: root/Terraform/AWS_terraform_ansible_single_vyos_instance-main/Ansible/instance.yml
blob: b8faa080778a369d7ee94df5a6b75076ae65bbd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
- name: integration of terraform and ansible
  hosts: all
  gather_facts: 'no'

  tasks:
    - name: "Wait 300 seconds, but only start checking after 60 seconds"
      wait_for_connection:
        delay: 60
        timeout: 300

    - name: Configure general settings for the vyos hosts group
      vyos_config:
        lines:
          - set system name-server 8.8.8.8
        save:
          true