summaryrefslogtreecommitdiff
path: root/TerraformCloud/Vsphere_terraform_ansible_single_vyos_instance-main/Ansible/instance.yml
blob: 7be84386a3324ae4d5a93d2f4433ccd9d3126117 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- 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: 5
        timeout: 30

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