2018-01-21 22:54:12 +01:00
|
|
|
# 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:
|
2018-08-13 10:21:50 +02:00
|
|
|
- { role: vultr_account_facts, tags: test_vultr_account_facts }
|
2018-08-17 10:30:57 +02:00
|
|
|
- { role: vultr_block_storage, tags: test_vultr_block_storage }
|
2018-08-17 19:32:13 +02:00
|
|
|
- { role: vultr_block_storage_facts, tags: test_vultr_block_storage_facts }
|
2018-08-13 10:21:50 +02:00
|
|
|
- { 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 }
|
2018-08-18 21:56:50 +02:00
|
|
|
- { role: vultr_network, tags: test_vultr_network }
|
2018-08-20 00:29:05 +02:00
|
|
|
- { role: vultr_network_facts, tags: test_vultr_network_facts }
|
2018-08-13 10:21:50 +02:00
|
|
|
- { 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 }
|
Vultr: Introducing vultr_server_facts module (#43001)
This commit introduces a new module called vultr_server_facts.
This module aims to return the list of servers avaiable avaiable in
Vultr.
Sample available here:
```
"vultr_server_facts": [
{
"allowed_bandwidth_gb": 1000,
"application": null,
"auto_backup_enabled": false,
"cost_per_month": 5.00,
"current_bandwidth_gb": 0,
"date_created": "2018-07-19 08:23:03",
"default_password": "p4ssw0rd!",
"disk": "Virtual 25 GB",
"firewallgroup": null,
"id": 17241096,
"internal_ip": "",
"kvm_url": "https://my.vultr.com/subs/vps/novnc/api.php?data=OFB...",
"name": "ansibletest",
"os": "CentOS 7 x64",
"pending_charges": 0.01,
"plan": "1024 MB RAM,25 GB SSD,1.00 TB BW",
"power_status": "running",
"ram": "1024 MB",
"region": "Amsterdam",
"server_state": "ok",
"status": "active",
"tag": "",
"v4_gateway": "105.178.158.1",
"v4_main_ip": "105.178.158.181",
"v4_netmask": "255.255.254.0",
"v6_main_ip": "",
"v6_network": "",
"v6_network_size": "",
"v6_networks": [],
"vcpu_count": 1
}
]
2018-08-16 20:29:48 +02:00
|
|
|
- { role: vultr_server_facts, tags: test_vultr_server_facts }
|
2018-08-13 10:21:50 +02:00
|
|
|
- { 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 }
|