rax - removed service parameter (#2020)

* removed service parameter

* added changelog fragment
This commit is contained in:
Alexei Znamensky 2021-03-15 00:22:03 +13:00 committed by GitHub
parent f8859af377
commit 84b54ad6a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 2 additions and 14 deletions

View file

@ -817,7 +817,6 @@ def main():
meta=dict(type='dict', default={}),
name=dict(),
networks=dict(type='list', elements='str', default=['public', 'private']),
service=dict(),
state=dict(default='present', choices=['present', 'absent']),
user_data=dict(no_log=True),
wait=dict(default=False, type='bool'),
@ -833,13 +832,6 @@ def main():
if not HAS_PYRAX:
module.fail_json(msg='pyrax is required for this module')
service = module.params.get('service')
if service is not None:
module.fail_json(msg='The "service" attribute has been deprecated, '
'please remove "service: cloudservers" from your '
'playbook pertaining to the "rax" module')
auto_increment = module.params.get('auto_increment')
boot_from_volume = module.params.get('boot_from_volume')
boot_volume = module.params.get('boot_volume')