Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #5 from ngine-io/release/0.3.0
Browse files Browse the repository at this point in the history
release 0.3.0
  • Loading branch information
resmo authored Jul 3, 2020
2 parents 8d38384 + c4a79b9 commit a1fb742
Show file tree
Hide file tree
Showing 33 changed files with 520 additions and 136 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
==============================
Vultr Collection Release Notes
==============================

.. contents:: Topics


v0.3.0
======

Minor Changes
-------------

- vultr_server_info, vultr_server - Improved handling of discontinued plans (https://github.com/ansible/ansible/issues/66707).

Bugfixes
--------

- vultr - Fixed the issue retry max delay param was ignored.

New Modules
-----------

- vultr_plan_baremetal_info - Gather information about the Vultr Bare Metal plans available.
- vultr_server_baremetal - Manages baremetal servers on Vultr.
1 change: 1 addition & 0 deletions changelogs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.plugin-cache.yaml
20 changes: 20 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
ancestor: null
releases:
0.3.0:
changes:
bugfixes:
- vultr - Fixed the issue retry max delay param was ignored.
minor_changes:
- vultr_server_info, vultr_server - Improved handling of discontinued plans
(https://github.com/ansible/ansible/issues/66707).
fragments:
- 66792-vultr-improve-plan.yml
- 67437-vultr-fix-retry-max-delay-param.yml
modules:
- description: Gather information about the Vultr Bare Metal plans available.
name: vultr_plan_baremetal_info
namespace: ''
- description: Manages baremetal servers on Vultr.
name: vultr_server_baremetal
namespace: ''
release_date: '2020-07-03'
29 changes: 29 additions & 0 deletions changelogs/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
changelog_filename_template: ../CHANGELOG.rst
changelog_filename_version_depth: 0
changes_file: changelog.yaml
changes_format: combined
keep_fragments: true
mention_ancestor: true
new_plugins_after_name: removed_features
notesdir: fragments
prelude_section_name: release_summary
prelude_section_title: Release Summary
sections:
- - major_changes
- Major Changes
- - minor_changes
- Minor Changes
- - breaking_changes
- Breaking Changes / Porting Guide
- - deprecated_features
- Deprecated Features
- - removed_features
- Removed Features (previously deprecated)
- - security_fixes
- Security Fixes
- - bugfixes
- Bugfixes
- - known_issues
- Known Issues
title: Vultr Collection
trivial_section_name: trivial
2 changes: 2 additions & 0 deletions changelogs/fragments/66792-vultr-improve-plan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- vultr_server_info, vultr_server - Improved handling of discontinued plans (https://github.com/ansible/ansible/issues/66707).
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- vultr - Fixed the issue retry max delay param was ignored.
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ tags:
- cloud
- vultr
- ngine_io
version: 0.2.0
version: 0.3.0
114 changes: 114 additions & 0 deletions meta/runtime.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
requires_ansible: '>=2.9.10'
action_groups:
vultr:
- vultr_user
- vultr_plan_baremetal_info
- vultr_user_info
- vultr_block_storage
- vultr_plan_info
- vultr_ssh_key_info
- vultr_network_info
- vultr_firewall_group_info
- vultr_ssh_key
- vultr_dns_domain
- vultr_server_info
- vultr_dns_record
- vultr_server_baremetal
- vultr_block_storage_info
- vultr_firewall_group
- vultr_region_info
- vultr_network
- vultr_account_info
- vultr_firewall_rule
- vultr_dns_domain_info
- vultr_server
- vultr_startup_script
- vultr_os_info
- vultr_startup_script_info

plugin_routing:
modules:
vr_account_facts:
deprecation:
removal_version: 2.0.0
warning_text: module was renamed to vultr_account_info
vr_dns_domain:
deprecation:
removal_version: 2.0.0
warning_text: module was renamed to vr_dns_domain
vr_dns_record:
deprecation:
removal_version: 2.0.0
warning_text: module was renamed to vultr_dns_record
vr_firewall_group:
deprecation:
removal_version: 2.0.0
warning_text: module was renamed to vultr_firewall_group
vr_firewall_rule:
deprecation:
removal_version: 2.0.0
warning_text: module was renamed to vultr_firewall_rule
vr_server:
deprecation:
removal_version: 2.0.0
warning_text: module was renamed to vultr_server
vr_ssh_key:
deprecation:
removal_version: 2.0.0
warning_text: module was renamed to vultr_ssh_key
vr_startup_script:
deprecation:
removal_version: 2.0.0
warning_text: module was renamed to vultr_startup_script
vr_user:
deprecation:
removal_version: 2.0.0
warning_text: module was renamed to vultr_user
vultr_account_facts:
deprecation:
removal_version: 2.0.0
warning_text: module was renamed to vultr_account_info
vultr_block_storage_facts:
deprecation:
removal_version: 2.0.0
warning_text: module was renamed to vultr_block_storage_info
vultr_dns_domain_facts:
deprecation:
removal_version: 2.0.0
warning_text: module was renamed to vultr_dns_domain_info
vultr_firewall_group_facts:
deprecation:
removal_version: 2.0.0
warning_text: module was renamed to vultr_firewall_group_info
vultr_network_facts:
deprecation:
removal_version: 2.0.0
warning_text: module was renamed to vultr_network_info
vultr_os_facts:
deprecation:
removal_version: 2.0.0
warning_text: module was renamed to vultr_os_info
vultr_plan_facts:
deprecation:
removal_version: 2.0.0
warning_text: module was renamed to vultr_plan_info
vultr_region_facts:
deprecation:
removal_version: 2.0.0
warning_text: module was renamed to vultr_region_info
vultr_server_facts:
deprecation:
removal_version: 2.0.0
warning_text: module was renamed to vultr_server_info
vultr_ssh_key_facts:
deprecation:
removal_version: 2.0.0
warning_text: module was renamed to vultr_ssh_key_info
vultr_startup_script_facts:
deprecation:
removal_version: 2.0.0
warning_text: module was renamed to vultr_startup_script_info
vultr_user_facts:
deprecation:
removal_version: 2.0.0
warning_text: module was renamed to vultr_user_info
2 changes: 2 additions & 0 deletions plugins/doc_fragments/vultr.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# Copyright (c) 2017 René Moser <[email protected]>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type


class ModuleDocFragment(object):
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/vultr_account_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
short_description: Get information about the Vultr account.
description:
- Get infos about account balance, charges and payments.
version_added: "1.0.0"
version_added: "0.1.0"
author: "René Moser (@resmo)"
extends_documentation_fragment:
- ngine_io.vultr.vultr
Expand Down
12 changes: 8 additions & 4 deletions plugins/modules/vultr_block_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,30 @@
description:
- Manage block storage volumes on Vultr.
author: "Yanis Guenane (@Spredzy)"
version_added: "1.0.0"
version_added: "0.1.0"
options:
name:
description:
- Name of the block storage volume.
required: true
aliases: [ description, label ]
type: str
size:
description:
- Size of the block storage volume in GB.
- Required if I(state) is present.
type: int
region:
description:
- Region the block storage volume is deployed into.
- Required if I(state) is present.
type: str
state:
description:
- State of the block storage volume.
default: present
choices: [ present, absent ]
type: str
extends_documentation_fragment:
- ngine_io.vultr.vultr
Expand Down Expand Up @@ -216,10 +220,10 @@ def absent_block_storage_volume(self):
def main():
argument_spec = vultr_argument_spec()
argument_spec.update(dict(
name=dict(required=True, aliases=['description', 'label']),
name=dict(type='str', required=True, aliases=['description', 'label']),
size=dict(type='int'),
region=dict(),
state=dict(choices=['present', 'absent'], default='present'),
region=dict(type='str'),
state=dict(type='str', choices=['present', 'absent'], default='present'),
))

module = AnsibleModule(
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/vultr_block_storage_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
short_description: Get information about the Vultr block storage volumes available.
description:
- Get infos about block storage volumes available in Vultr.
version_added: "1.0.0"
version_added: "0.1.0"
author:
- "Yanis Guenane (@Spredzy)"
- "René Moser (@resmo)"
Expand Down
11 changes: 7 additions & 4 deletions plugins/modules/vultr_dns_domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,27 @@
short_description: Manages DNS domains on Vultr.
description:
- Create and remove DNS domains.
version_added: "1.0.0"
version_added: "0.1.0"
author: "René Moser (@resmo)"
options:
name:
description:
- The domain name.
required: true
aliases: [ domain ]
type: str
server_ip:
description:
- The default server IP.
- Use M(vultr_dns_record) to change it once the domain is created.
- Required if C(state=present).
type: str
state:
description:
- State of the DNS domain.
default: present
choices: [ present, absent ]
type: str
extends_documentation_fragment:
- ngine_io.vultr.vultr
Expand Down Expand Up @@ -172,9 +175,9 @@ def absent_domain(self):
def main():
argument_spec = vultr_argument_spec()
argument_spec.update(dict(
name=dict(required=True, aliases=['domain']),
server_ip=dict(),
state=dict(choices=['present', 'absent'], default='present'),
name=dict(type='str', required=True, aliases=['domain']),
server_ip=dict(type='str',),
state=dict(type='str', choices=['present', 'absent'], default='present'),
))

module = AnsibleModule(
Expand Down
20 changes: 12 additions & 8 deletions plugins/modules/vultr_dns_domain_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
short_description: Gather information about the Vultr DNS domains available.
description:
- Gather information about DNS domains available in Vultr.
version_added: "1.0.0"
version_added: "0.1.0"
author: "Yanis Guenane (@Spredzy)"
extends_documentation_fragment:
- ngine_io.vultr.vultr
Expand Down Expand Up @@ -66,13 +66,17 @@
description: Response from Vultr API
returned: success
type: complex
sample:
"vultr_dns_domain_info": [
{
"date_created": "2018-07-19 07:14:21",
"domain": "ansibletest.com"
}
]
contains:
domain:
description: Name of the DNS Domain.
returned: success
type: str
sample: example.com
date_created:
description: Date the DNS domain was created.
returned: success
type: str
sample: "2017-08-26 12:47:48"
'''

from ansible.module_utils.basic import AnsibleModule
Expand Down
Loading

0 comments on commit a1fb742

Please sign in to comment.