1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/legacy/vultr.yml
Yanis Guenane 0c65bcb23b Vultr: Introducing vultr_network_facts module (#43600)
This commit introduces a new module called vultr_network_facts.

This module aims to return the list of networks avaiable in Vultr.

Sample available here:

```
"vultr_network_facts": [
  {
    "date_created": "2018-08-02 11:18:49",
    "id": "net5b62e8991adfg",
    "name": "mynet",
    "region": "Amsterdam",
    "v4_subnet": "192.168.42.0",
    "v4_subnet_mask": 24
  }
]
```
2018-08-20 00:29:05 +02:00

29 lines
1.6 KiB
YAML

# Copyright (c) 2018, René Moser <mail@renemoser.net>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
---
- hosts: localhost
gather_facts: no
connection: local
roles:
- { role: vultr_account_facts, tags: test_vultr_account_facts }
- { role: vultr_block_storage, tags: test_vultr_block_storage }
- { role: vultr_block_storage_facts, tags: test_vultr_block_storage_facts }
- { role: vultr_dns_domain, tags: test_vultr_dns_domain }
- { role: vultr_dns_domain_facts, tags: test_vultr_dns_domain_facts }
- { role: vultr_dns_record, tags: test_vultr_dns_record }
- { role: vultr_firewall_group, tags: test_vultr_firewall_group }
- { role: vultr_firewall_group_facts, tags: test_vultr_firewall_group_facts }
- { role: vultr_firewall_rule, tags: test_vultr_firewall_rule }
- { role: vultr_network, tags: test_vultr_network }
- { role: vultr_network_facts, tags: test_vultr_network_facts }
- { role: vultr_os_facts, tags: test_vultr_os_facts }
- { role: vultr_plan_facts, tags: test_vultr_plan_facts }
- { role: vultr_region_facts, tags: test_vultr_region_facts }
- { role: vultr_server, tags: test_vultr_server }
- { role: vultr_server_facts, tags: test_vultr_server_facts }
- { role: vultr_ssh_key, tags: test_vultr_ssh_key }
- { role: vultr_ssh_key_facts, tags: test_vultr_ssh_key_facts }
- { role: vultr_startup_script, tags: test_vultr_startup_script }
- { role: vultr_startup_script_facts, tags: test_vultr_startup_script_facts }
- { role: vultr_user, tags: test_vultr_user }
- { role: vultr_user_facts, tags: test_vultr_user_facts }