Remove deprecated os_server_actions alias (#47208)
* Remove deprecated os_server_actions alias. Fixes #44991 * Skip os_server_actions
This commit is contained in:
parent
d3be4f75ca
commit
90d2620939
3 changed files with 20 additions and 4 deletions
|
@ -1 +0,0 @@
|
|||
os_server_action.py
|
19
lib/ansible/modules/cloud/openstack/_os_server_actions.py
Normal file
19
lib/ansible/modules/cloud/openstack/_os_server_actions.py
Normal file
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright: (c) 2018, Ansible Project
|
||||
# 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
|
||||
|
||||
ANSIBLE_METADATA = {'metadata_version': '1.1',
|
||||
'status': ['removed'],
|
||||
'supported_by': 'community'}
|
||||
|
||||
|
||||
from ansible.module_utils.common.removed import removed_module
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
removed_module(removed_in='2.8')
|
|
@ -130,9 +130,6 @@ def main():
|
|||
required_if=[('action', 'rebuild', ['image'])],
|
||||
**module_kwargs)
|
||||
|
||||
if module._name == 'os_server_actions':
|
||||
module.deprecate("The 'os_server_actions' module is being renamed 'os_server_action'", version=2.8)
|
||||
|
||||
action = module.params['action']
|
||||
wait = module.params['wait']
|
||||
timeout = module.params['timeout']
|
||||
|
|
|
@ -18,3 +18,4 @@ cs_nic
|
|||
ec2_remote_facts
|
||||
netscaler
|
||||
win_msi
|
||||
os_server_actions
|
||||
|
|
Loading…
Reference in a new issue