GCE deprecation warning (#52116)

* GCE deprecation warning

* porting guide typo

* fixing ignores

* moving error code back

* underscore marking on gce

* forgot to change status
This commit is contained in:
Alex Stephen 2019-02-18 08:42:19 -08:00 committed by John R Barker
parent e8b3adeb2b
commit 6ae04017d8
4 changed files with 8 additions and 3 deletions

View file

@ -137,6 +137,7 @@ The following modules will be removed in Ansible 2.12. Please update your playbo
* ``katello`` use <https://github.com/theforeman/foreman-ansible-modules> instead. * ``katello`` use <https://github.com/theforeman/foreman-ansible-modules> instead.
* ``github_hooks`` use :ref:`github_webhook <github_webhook_module>` and :ref:`github_webhook_facts <github_webhook_facts_module>` instead. * ``github_hooks`` use :ref:`github_webhook <github_webhook_module>` and :ref:`github_webhook_facts <github_webhook_facts_module>` instead.
* ``digital_ocean`` use :ref `digital_ocean_droplet <digital_ocean_droplet_module>` instead. * ``digital_ocean`` use :ref `digital_ocean_droplet <digital_ocean_droplet_module>` instead.
* ``gce`` use :ref `gce_compute_instance <gce_compute_instance_module>` instead.
Noteworthy module changes Noteworthy module changes

View file

@ -7,7 +7,7 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type __metaclass__ = type
ANSIBLE_METADATA = {'metadata_version': '1.1', ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'], 'status': ['deprecated'],
'supported_by': 'community'} 'supported_by': 'community'}
DOCUMENTATION = ''' DOCUMENTATION = '''
@ -20,6 +20,10 @@ description:
U(https://cloud.google.com/compute) for an overview. U(https://cloud.google.com/compute) for an overview.
Full install/configuration instructions for the gce* modules can Full install/configuration instructions for the gce* modules can
be found in the comments of ansible/test/gce_tests.py. be found in the comments of ansible/test/gce_tests.py.
deprecated:
removed_in: "2.12"
why: Updated modules released with increased functionality
alternative: Use M(gcp_compute_instance) instead.
options: options:
image: image:
description: description:

View file

@ -33,7 +33,7 @@ def main():
'lib/ansible/modules/cloud/amazon/route53_zone.py', 'lib/ansible/modules/cloud/amazon/route53_zone.py',
'lib/ansible/modules/cloud/amazon/s3_sync.py', 'lib/ansible/modules/cloud/amazon/s3_sync.py',
'lib/ansible/modules/cloud/azure/azure_rm_loadbalancer.py', 'lib/ansible/modules/cloud/azure/azure_rm_loadbalancer.py',
'lib/ansible/modules/cloud/google/gce.py', 'lib/ansible/modules/cloud/google/_gce.py',
'lib/ansible/modules/cloud/google/gce_eip.py', 'lib/ansible/modules/cloud/google/gce_eip.py',
'lib/ansible/modules/cloud/google/gce_img.py', 'lib/ansible/modules/cloud/google/gce_img.py',
'lib/ansible/modules/cloud/google/gce_instance_template.py', 'lib/ansible/modules/cloud/google/gce_instance_template.py',

View file

@ -126,7 +126,7 @@ lib/ansible/modules/cloud/dimensiondata/dimensiondata_vlan.py E326
lib/ansible/modules/cloud/google/gc_storage.py E322 lib/ansible/modules/cloud/google/gc_storage.py E322
lib/ansible/modules/cloud/google/gc_storage.py E324 lib/ansible/modules/cloud/google/gc_storage.py E324
lib/ansible/modules/cloud/google/gc_storage.py E326 lib/ansible/modules/cloud/google/gc_storage.py E326
lib/ansible/modules/cloud/google/gce.py E326 lib/ansible/modules/cloud/google/_gce.py E326
lib/ansible/modules/cloud/google/gce_eip.py E322 lib/ansible/modules/cloud/google/gce_eip.py E322
lib/ansible/modules/cloud/google/gce_instance_template.py E322 lib/ansible/modules/cloud/google/gce_instance_template.py E322
lib/ansible/modules/cloud/google/gce_instance_template.py E324 lib/ansible/modules/cloud/google/gce_instance_template.py E324