Commit graph

1040 commits

Author SHA1 Message Date
Ivan Bojer
9ddf8b8ee5 remove panos_security_policy (#34433)
* remove panos_security_policy

* added depreciation notice

* - deprecation notice

* properly document deprecated module

* merge changes

* merge changes

* parser expects srt for deprecations attributes
2018-02-02 12:35:02 +00:00
Thom Wiggers
57870379d4 Include new module openssl_dhparam in changelog (#32620) (#35650) 2018-02-02 11:40:49 +00:00
Will Thames
b5a1643e3d Add new aws_waf_condition module (#33110) 2018-02-01 18:16:27 -05:00
Willem van Ketwich
e8d8c5b19c New module: manage Amazon CloudFront origin access identities (cloud/amazon/cloudfront_origin_access_identity) (#35540) 2018-02-01 11:32:33 -05:00
Ryan S. Brown
8621a80a82 Add aws_batch_job_queue and aws_batch_job_definition to CHANGELOG 2018-01-30 17:31:10 -05:00
Sloane Hertel
c02b1f586f
Add new AWS modules aws_elasticbeanstalk_app and aws_ses_identity (#35518) 2018-01-30 16:08:57 -05:00
Ryan S. Brown
eb14eac1c6 Add aws_batch_compute_environment to CHANGELOG 2018-01-30 13:35:26 -05:00
John R Barker
a23c95023b
Module deprecation: docs, scheme and tests (#34100)
Enforce module deprecation.
After module has reached the end of it's deprecation cycle we will replace it with a docs stub.

* Replace deprecated modules with docs-only sub
* Use of deprecated past deprecation cycle gives meaningful message (see examples below)
* Enforce documentation.deprecation dict via `schema.py`
* Update `ansible-doc` and web docs to display documentation.deprecation
* Document that structure in `dev_guide`
* Ensure that all modules starting with `_` have a `deprecation:` block
* Ensure `deprecation:` block is only used on modules that start with `_`
* `removed_in` A string which represents when this module needs **deleting**
* CHANGELOG.md and porting_guide_2.5.rst list removed modules as well as alternatives
* CHANGELOG.md links to porting guide index

To ensure that meaningful messages are given to the user if they try to use a module at the end of it's deprecation cycle we enforce the module to contain:
```python
if __name__ == '__main__':
    removed_module()
```
2018-01-30 12:23:52 +00:00
Dag Wieers
5814f9effa
Add win_product_facts 2018-01-30 00:12:02 +01:00
Ryan S. Brown
8dc0048698 Add AWS Direct Connect VIF (aws_direct_connect_virtual_interface) to CHANGELOG 2018-01-29 17:25:56 -05:00
Abhijeet Kasurde
3b76db5239 Add new VMware modules in changelog (#35438)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-01-29 10:52:04 +01:00
Ryan S. Brown
13cbe115e1 Add new module iam_user to CHANGELOG 2018-01-26 14:56:27 -05:00
Ryan S. Brown
a5d22e3781 Add aws_az_facts to CHANGELOG 2018-01-26 14:53:29 -05:00
Ryan S. Brown
94bb2e3a08 Add aws_region_facts to CHANGELOG 2018-01-26 14:49:48 -05:00
Ryan S. Brown
f910d5d16d Add ec2_vpc_egress_igw to CHANGELOG 2018-01-26 09:23:08 -05:00
Toshio Kuratomi
f94fe61b6b Documentation and changelog for the plugin_filtering config option 2018-01-22 17:13:41 -08:00
René Moser
4d2204882a changelog: add new modules to changelog (#35158) 2018-01-22 12:18:50 +00:00
Will Thames
8d733dbdf0 [cloud] New module cloudfront_distribution (#31284)
* added cloudfont.py, modified cloudfront_facts.py class name and fixed a minor bug

* Improvements to cloudfront_distribution

* Reduce the scope of the cloudfront_distribution module
    * Remove presigning
    * Remove streaming distribution functionality
* Add full test suite for cloudfront distribution
* Meet Ansible AWS guidelines

* Make requested changes

Fix tests

Use built-in waiter

Update copyright
2018-01-17 11:03:23 -05:00
Ryan S. Brown
60b3a191e6 Add terraform module to changelog 2018-01-10 14:18:53 -05:00
René Moser
88318c5fe5 add new modules to changelog (#34601)
* add new modules to changelog

* add new modules to changelog
2018-01-10 13:26:57 +00:00
Matt Martz
d1846425db
Provide a way to explicitly invoke the debugger (#34006)
* Provide a way to explicitly invoke the debugger with in the debug strategy

* Merge the debugger strategy into StrategyBase

* Fix some logic, pin to a single result

* Make redo also continue

* Make sure that if the debug closure doesn't need to process the result, that we still return it

* Fix failing tests for the strategy

* Clean up messages from debugger and exit code to match bin/ansible

* Move the FieldAttribute higher, to apply at different levels

* make debugger a string, expand logic

* Better host state rollbacks

* More explicit debugger prompt

* ENABLE_TASK_DEBUGGER should be boolean, and better docs

* No bare except, add pprint, alias h, vars to task_vars

* _validate_debugger can ignore non-string, that can be caught later

* Address issue if there were no previous tasks/state, and use the correct key

* Update docs for changes to the debugger

* Guard against a stat going negative through use of decrement

* Add a few notes about using the debugger on the free strategy

* Add changelog entry for task debugger

* Add a few versionadded indicators and a note about vars -> task_vars
2018-01-09 13:50:07 -06:00
Jordan Borean
c9e9422133 Added new windows module changelog entry 2018-01-09 05:46:51 +10:00
René Moser
439e64256f
cloudstack: rename new module to cs_service_offering (#34555)
* cloudstack: rename cs_serviceoffer to cs_service_offering

* adjust references to old name

* cs_service_offering: fix limitcpuuse not handled

* minor docs fix

* update changelog
2018-01-07 17:21:56 +01:00
Trishna Guha
9d2182bcf8 Deprecate nxos_switchport and Add nxos_l2_interface DI module (#33813)
* Deprecate nxos_switchport

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* Add nxos_l2_interface DI module

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* pep8 fixes

* aggregate test for nxos_l2_interface

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* revert nxos_switchport test change

* gundalow's comment

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-01-05 07:44:02 +00:00
Will Thames
4d5533c597 Update ec2_asg_lifecycle_hook to meet modern best AWS module practices (#34379)
* Use `AnsibleAWSModule`
* Update exception handling to use `fail_json_aws` and check
  for `BotoCoreError` exceptions associated with bad connection
  parameters.
* Remove connection creation exception handling as it does nothing.
2018-01-03 16:35:24 -05:00
René Moser
f5721972cb doc: new modules to changelog (#34180) 2017-12-26 10:17:23 +00:00
Ryan S. Brown
b811c907d8 Add aws_application_scaling_policy to changelog 2017-12-21 19:47:55 -05:00
Yuwei Zhou
7b260eaafe add azure_rm_image to change log (#34131)
* add azure_rm_image to change log

* update
2017-12-21 20:43:49 +10:00
Rene Moser
0c7c30b47a changelog: add new vultr modules 2017-12-20 21:15:57 +01:00
Ryan S. Brown
339278fa15 Add new module aws_direct_connect_gateway to CHANGELOG 2017-12-20 09:57:55 -05:00
Marc Tschapek
c3952e928f changelog: add new module win_disk_facts (#34087) 2017-12-20 14:19:40 +01:00
Trishna Guha
be89822bb5
Deprecate nxos_portchannel and add nxos_linkagg DI module (#33376)
* deprecate nxos_portchannel

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* Add nxos_linkagg DI module

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* remove nxos_portchannel unit test

* fix syntax issues

* fix ansible-doc failure

* update nxos_portchannel unittest

* minor fixes and integration test

* update nxos_linkagg
2017-12-20 11:26:07 +05:30
Trishna Guha
3cce8dfafd
Deprecate nxos_ip_interface and Add nxos_l3_interface DI module (#33866)
* Deprecate nxos_ip_interface module

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* Add nxos_l3_interface DI module

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* Add integration test

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* pep8 fixes

* Add nxapi cli test

* Improve complexity

* manage layer3 interface

* fix unit test
2017-12-20 11:07:23 +05:30
René Moser
790c06c079 changelog: add new modules (#34059)
* changelog: add new modules

* remove false postive new modules
2017-12-19 20:05:50 -05:00
Toshio Kuratomi
cc7a5228b0
Deprecate check_invalid_arguments (#34004)
* Deprecate check_invalid_arguments

Check_invalid_arguments is a piece of functionality from the early days
of Ansible that should not be used.  We'll remove it in Ansible 2.9.
Deprecating it for now.
2017-12-19 14:36:02 -08:00
Ryan S. Brown
bedb864bcb Add aws_account_attribute lookup to changelog 2017-12-19 12:21:44 -05:00
Jordan Borean
3af028fdd7 Fixed up changelog around get_md5 deprecation 2017-12-19 07:30:16 +10:00
Brian Coca
11063dabaf fixed version_added, update clog 2017-12-14 10:41:46 -05:00
Ryan S. Brown
bd769bf79a Add iam_role_facts to changelog 2017-12-12 12:21:20 -05:00
Pilou
326b208b19 osx_say: add espeak support, rename module to say (#33071)
* Rename osx_say module into say

* say: remove undocumented default value for voice parameter

* say: add support for espeak command

* say: handle check_mode

* say: handle GNUstep tool
2017-12-09 13:45:31 +00:00
Ryan S. Brown
55cd1f3377 Add ec2_placement_group to changelog 2017-12-07 14:51:24 -05:00
Jordan Borean
97fa41d338 updated new Windows modules in Changelog 2017-12-06 06:53:34 +10:00
Ted Timmons
750f7fe132 docfix on CHANGELOG (#33463)
fix some spelling and clarity issues, give some guidance on what ec2_ami_find was replaced by.
2017-12-05 13:44:12 -05:00
nwsparks
eab8eab885 add newly merged windows module to changelog (#33582)
https://github.com/ansible/ansible/pull/31046
2017-12-05 14:59:57 +00:00
Brian Coca
eec2ab5e75 updated chlog with 2.4.1 info 2017-12-01 15:25:24 -05:00
Jordan Borean
8386201242 add deprecation for stat get_md5 (#33002) 2017-11-27 18:58:55 -05:00
Matt Martz
4fe08441be Deprecate tests used as filters (#32361)
* Warn on tests used as filters

* Update docs, add aliases for tests that fit more gramatically with test syntax

* Fix rst formatting

* Add successful filter, alias of success

* Remove renamed_deprecation, it was overkill

* Make directory alias for is_dir

* Update tests to use proper jinja test syntax

* Update additional documentation, living outside of YAML files, to reflect proper jinja test syntax

* Add conversion script, porting guide updates, and changelog updates

* Update newly added uses of tests as filters

* No underscore variable

* Convert recent tests as filter changes to win_stat

* Fix some changes related to rebasing a few integration tests

* Make tests_as_filters_warning explicitly accept the name of the test, instead of inferring the name

* Add test for tests_as_filters_warning

* Update tests as filters in newly added/modified tests

* Address recent changes to several integration tests

* Address recent changes in cs_vpc
2017-11-27 17:58:08 -05:00
Brian Coca
782aca9a72 fix typo
(cherry picked from commit 36a3388a3a)
2017-11-21 11:00:07 -05:00
Will Thames
921cc6d650 [cloud] New module elasticache_facts (#30492)
New module for obtaining facts from elasticache clusters

Fixes #30373

* Removed unnecessary boto3 and exception checking

* AnsibleAWSModule checks for lack of boto3
* boto3_conn handles error checking of AWS connection
2017-11-16 10:20:56 -05:00
Brian Coca
49a1472656
undeprecated with_ (#32805)
* undeprecated with_
2017-11-14 10:36:41 -05:00