Commit graph

46830 commits

Author SHA1 Message Date
Toshio Kuratomi
5f227fe260 Install ansible-test (#60718)
* Install ansible-test

Modify the install script to install ansible-test and its supporting
code.  Alternative to #60701 that doesn't change package_dir ansible for
fear that it might regress https://github.com/ansible/ansible/issues/10437

Also:
* No longer use package_data.  Everything in the package dirs is going
  to be installed.  Anything that shouldn't be installed needs to be
  moved elsewhere.
* modify the algorithm to store symlinks which are in the same tree
  instead of same directory

* Add ansible_test files to package-data sanity test

* MANIFEST.in cleanups

* Add lib/ansible/config/*.yml
* Make most things in code directories (lib/ansible and test/lib/ansible_test/)
  use explicit file extensions instead of wildcards for maintainability
* Exclude common file extensions that we don't want included in the code
  directories

* Change package-data test to be more complete

* Now compares the repository, sdist, and install
* Compares both that everything in the sdist is in the repo and
  everything in the install is in the sdist in addition to comparing that
  everything in the repo that we want is in the install

* Leave out test artifacts

Only include the directory structure for test/results and test/cache not
any files that may have been generated by test runs

Remove test/utils files from the sdist as these are only needed for our CI

cleanup of docs in MANIFEST.in; getting rid of build files.

* Add the ability to output sdist and snapshot to specific directory

* Add a warning about modifying the heuristic to setup.py

* Address generated files

* Use make snapshot instead of sdist to generate changelog and man pages
  and make sure they're included
* Ignore both the test/utils and generated test files (results, cache)
* Deal with Python3 __pycache__ byte code caches
* Don't check documentation, that isn't built for the sdist
* Restructure for clarity

* Add cli web docs to make clean

This was causing problems when attempting to test that the sdist didn't
have extra files

* Fix bug constructing python names from __pycache__ names

* Create a clean repo to work from

* Exclude test/legacy and be more explicit on extensions

* Exclude the legacy directory from sdist
2019-08-20 23:53:35 -07:00
chkp-orso
f1d568749f fix: Checkpoint check_mode, add suboptions, return the facts (#60264)
* fix: check_mode, add suboptions, return the facts

* pip8, ansible_facts, get_payload

* add space to create PR

* remove space to create PR

* test tests of cp_network

* change for the test of network

* fixes to pass the tests

* fix tests

* Update ignore.txt
2019-08-21 12:23:17 +05:30
Pavan Bidkar
b75fc87a86 VMware: New module for deploy VM from content library template (#60203)
* Fixed format issues reported by pre-check tests

* Changes as per review comments. using single api_client between util class and module

* re-running the task to check the idempotency of module object
2019-08-21 11:17:29 +05:30
Matt Clay
32b0a72547
Support windows-integration on collections. (#60984)
* Support windows-integration on collections.

* Update configure-remoting-ps1 sanity test.

* Add copy of ConfigureRemotingForAnsible.ps1.

* Add ignore entry for copied file.
2019-08-20 22:23:28 -07:00
Bojan Vitnik
04e0f9d4ea XenServer: When VM is in powered on state, plug newly added disks
Fixes: #60693
2019-08-21 10:50:14 +05:30
Apoorva Gururaja
2bbbc5fafc Update mso_schema_template_anp_epg.py (#59746)
* Update mso_schema_template_anp_epg.py

* Update mso_schema_template_anp_epg.py

* Update mso_schema_template_anp_epg.py

* Update mso_schema_template_anp_epg.py

* Update mso_schema_template_anp_epg.py

* Update mso_schema_template_anp_epg.py

* Update mso_schema_template_anp_epg.py

* Update mso_schema_template_anp_epg.py

* Update mso_schema_template_anp_epg.py

* Update mso_schema_template_anp_epg.py

* Update mso_schema_template_anp_epg.py

* Update mso_schema_template_anp_epg.py

* Update mso_schema_template_anp_epg.py
2019-08-21 04:00:53 +02:00
Jordan Borean
e747487720
ansible-galaxy - define multiple galaxy instances in ansible.cfg (#60553)
* ansible-galaxy: support multiple servers on install

* Added docs for the server configuration file

* Fix up doc string for requirements file format

* Fix bugs after testing

* Fix kwarg doc and added version

* Fix typo and doc improvement

* Fix base64 encoding and allow --server to override list
2019-08-21 07:49:05 +10:00
Matt Clay
4d424d0830 Only run package-data sanity once in CI. 2019-08-20 14:09:40 -07:00
Nathaniel Case
764a81fce7
New module eos_lacp (#60698)
* Initial builder import

* Add tests

* Implement facts & config
2019-08-20 16:11:31 -04:00
Kevin Breit
543401f83b Collections documentatation - Add information about semantic versioning (#60969) 2019-08-20 14:59:01 -04:00
The Magician
229219ab77 Bug fixes for GCP modules (#60920) 2019-08-20 14:30:16 -04:00
Kevin Breit
48a04fade4 Update host parameter notes to include China. (#60967) 2019-08-20 14:20:31 -04:00
Toshio Kuratomi
32f264d508 ansible-doc added a new required element and broke changelog generation
ansible-doc should probably be using subcommands for its
exclusive_options...
2019-08-20 10:59:24 -07:00
Chris Archibald
673c9a3ee2 add import error (#60886) 2019-08-20 13:50:30 -04:00
Chris Archibald
3940a2c3c4 bug and doc fixes (#60888) 2019-08-20 13:50:09 -04:00
Chris Archibald
211fd2c95f small bug fix (#60890) 2019-08-20 13:49:59 -04:00
Chris Archibald
cba8e12e3c bug fix, was not checking vserver (#60892) 2019-08-20 13:49:33 -04:00
Chris Archibald
684661b5e0 small bug fix (#60893) 2019-08-20 13:49:24 -04:00
Chris Archibald
e1e2e61494 small update (#60894) 2019-08-20 13:33:24 -04:00
Chris Archibald
90d84dd162 doc update (#60895) 2019-08-20 13:33:10 -04:00
Chris Archibald
cd093be8b2 small bug fix for elementsw_vlan (#60896) 2019-08-20 13:33:00 -04:00
Chris Archibald
4bffa76134 small bug fix for cifs acl (#60898) 2019-08-20 13:32:49 -04:00
Chris Archibald
aae484dbae cg snapshot needs to use vserver (#60899) 2019-08-20 13:32:34 -04:00
Chris Archibald
ad7b55f9ec update copyright (#60900) 2019-08-20 13:32:23 -04:00
Chris Archibald
099d18bb7e small doc update (#60902) 2019-08-20 13:32:05 -04:00
Chris Archibald
f8913dce6e update copyright (#60903) 2019-08-20 13:31:53 -04:00
Chris Archibald
a972ceb344 bug fixes for backup (#60904) 2019-08-20 13:31:40 -04:00
Chris Archibald
63d4de7e1c igroup has to use vserver (#60905) 2019-08-20 13:31:30 -04:00
Chris Archibald
d62e75bf6d update copyright (#60906) 2019-08-20 13:31:20 -04:00
Chris Archibald
ceee866794 fixes' (#60907) 2019-08-20 13:21:26 -04:00
Chris Archibald
db465384b0 update copyright (#60908) 2019-08-20 13:21:16 -04:00
Matt Clay
100fe52860 Add missing ansible-test git ignore. 2019-08-20 09:02:34 -07:00
Sloane Hertel
3247626ac7 Warn when transforming constructed groups (#60912)
* Warn when transforming constructed groups

The `keyed_groups` field has used sanitization since 2.6, but `groups` only started doing so in 2.8.
This adds a warning for the change in behavior.

* changelog
2019-08-20 10:32:02 -05:00
Matt Martz
ba25522db4
Remove ddeprecated redis_kv lookup. Fixes #59984 (#60826) 2019-08-20 10:27:09 -05:00
Arnaud Venturi
5acbb42dc4 Fix ssh example with sshd config (#60821)
The example tries to validate a sshd config, but provides sshd (server) a client configuration.
If trying to execute the given validation command on a client file, it doesn't work (e.g. running `/usr/sbin/sshd -T -f /etc/ssh/sshd_config` returns non-zero code)
2019-08-20 09:54:02 -05:00
Mark Chesney
11be31db71 Fix naming discrepancy in zip filter example (#60918)
Fix naming discrepancy in zip filter example
2019-08-20 09:53:15 -05:00
Matt Clay
92380d7050
Update ansible-test --windows inventory creation. (#60911)
Host specific settings are created as part of the generated inventory instead of using a host_vars directory.

Also update connection tests to work properly with the generated inventory changes.
2019-08-20 07:17:32 -07:00
Felix Fontein
e58919bccd
gluster_heal_facts: rename to gluster_heal_info (#60919)
* Rename gluster_heal_facts -> gluster_heal_info

* Add changelog.
2019-08-20 15:43:41 +02:00
Felix Fontein
c66163b118
hpilo_facts: rename to hpilo_info (#60917)
* Rename hpilo_facts -> hpilo_info

* Fix porting guide.

* Add changelog.
2019-08-20 15:14:18 +02:00
Miguel Angel Muñoz González
2e6458bb73 Fortinet's new module for fortios_switch_controller_security_policy_802_1X (#60779) 2019-08-20 18:08:47 +05:30
Miguel Angel Muñoz González
34bc40cfde Fortinet's new module for fortios_switch_controller_qos_queue_policy (#60777) 2019-08-20 16:55:52 +05:30
Miguel Angel Muñoz González
d7b61b2adc Fortinet's new module for fortios_router_route_map (#60761)
* Fortinet's new module for fortios_router_route_map

* Update fortios_router_route_map.py
2019-08-20 16:52:30 +05:30
Will Thames
362c45517d aws_kms: fix failing tests (#60206)
Preserve tag key case by only calling camel_dict_to_snake_dict once,
before the tags are added.

Don't call assert_policy_shape as it seems to fail

Use aws_caller_info in the test suite now that it exists rather
than running `aws sts get_caller_identity`

Ensure that calls using `grant_types` can also use key aliases
2019-08-20 07:15:40 -04:00
Miguel Angel Muñoz González
7224114c3c Fortinet's new module for fortios_switch_controller_quarantine (#60778) 2019-08-20 16:45:15 +05:30
Miguel Angel Muñoz González
150b20ed1d Fortinet's new module for fortios_system_geoip_override (#60835) 2019-08-20 16:31:21 +05:30
Miguel Angel Muñoz González
f578534c79 Fortinet's new module for fortios_system_ftm_push (#60834) 2019-08-20 16:30:50 +05:30
Miguel Angel Muñoz González
f19851f1a3 Fortinet's new module for fortios_system_fsso_polling (#60832) 2019-08-20 16:30:26 +05:30
Miguel Angel Muñoz González
c8de713683 Fortinet's new module for fortios_system_fortisandbox (#60831) 2019-08-20 16:30:03 +05:30
Miguel Angel Muñoz González
95338e9062 Fortinet's new module for fortios_system_fortisandbox (#60831) 2019-08-20 16:29:41 +05:30
Miguel Angel Muñoz González
6089509c8a Fortinet's new module for fortios_system_fortimanager (#60830) 2019-08-20 16:29:05 +05:30