1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Remove deprecated os_server_actions alias (#47208)

* Remove deprecated os_server_actions alias. Fixes #44991

* Skip os_server_actions
This commit is contained in:
Matt Martz 2018-10-18 01:44:44 -05:00 committed by Jordan Borean
parent d3be4f75ca
commit 90d2620939
3 changed files with 20 additions and 4 deletions

View file

@ -1 +0,0 @@
os_server_action.py

View 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')

View file

@ -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']

View file

@ -18,3 +18,4 @@ cs_nic
ec2_remote_facts
netscaler
win_msi
os_server_actions