summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Create a raw lookup for hostvars that does not template the dataissue_17024_greedy_lookupsJames Cammarata2016-09-212-6/+21
| | | | | | | | When using hostvars to get extra connection-specific vars for connection plugins, use this raw lookup to avoid prematurely templating all of the hostvar data (triggering unnecessary lookups). Fixes #17024
* Don't template hostvarsdont_template_hostvarsJames Cammarata2016-09-201-2/+3
|
* Remove test-docs from module search ignore list. (#17670)Matt Clay2016-09-201-1/+1
|
* Update submodule refs.Matt Clay2016-09-202-13/+10
|
* changed missing file error to warning for lookups (#16800)Brian Coca2016-09-203-10/+4
| | | | | | | | * changed missing file error to warning for lookups * changed plugins that expected exception warning will still be displayed, they now work with None value
* Officially naming the 2.2 release "The Battle of Evermore"James Cammarata2016-09-202-2/+3
|
* Fixed formattingJohn R Barker2016-09-201-0/+1
| | | Need a blank line before headings
* Update submodule refs to pick up pip fixesToshio Kuratomi2016-09-202-10/+12
|
* Take ITERATING_ALWAYS into account when setting failed state in PlayIteratorissue_15963_include_blocks_bugJames Cammarata2016-09-202-3/+8
| | | | Fixes #15963
* Implements verbose always to assert action plugin module (#17654)Timothy Appnel2016-09-201-1/+2
|
* Update core submodule ref for pip fixToshio Kuratomi2016-09-201-13/+5
|
* Merge branch 'threaded_receiver' into develJames Cammarata2016-09-207-380/+452
|\
| * Moving result reading to a background threadthreaded_receiverJames Cammarata2016-09-177-236/+372
| |
| * Revert "Move queuing tasks to a background thread"James Cammarata2016-09-158-225/+161
| | | | | | | | This reverts commit b71957d6e6d666dc9594e798e4230e908c19b299.
* | Update sumodule refsToshio Kuratomi2016-09-201-5/+12
| |
* | Add pip bugfix to minor changesToshio Kuratomi2016-09-201-1/+1
| |
* | Add test for checking pip package in check mode (#17360)Rob Cutmore2016-09-201-0/+16
| |
* | remove old imports from junos shared module (#17655)Peter Sprygada2016-09-191-4/+0
| | | | | | this cleans up the old import mechanisms in the junos shared module
* | allow netcfg to pass kwargs from __call__ to configure() (#17653)Peter Sprygada2016-09-191-2/+2
| | | | | | | | This minor fix allows kwargs to pass from Config __call__ to the underlying transport instance.
* | clean up junos shared module (#17652)Peter Sprygada2016-09-191-4/+1
| | | | | | | | This cleans up the junos module removing some unneeded commands and fixing method signature with unneeded **kwargs
* | Merge pull request #17651 from skg-net/bugfixPeter Sprygada2016-09-191-1/+4
|\ \ | | | | | | Fix to handle the prompt on saving startup config
| * | Fix to handle the prompt on saving startup configSenthil Kumar Ganesan2016-09-191-1/+4
| | |
* | | Update submodule refs.Matt Clay2016-09-192-14/+10
| | |
* | | Update submodule refs.Matt Clay2016-09-192-12/+14
|/ /
* | Update submodule refs.Matt Clay2016-09-192-12/+12
| |
* | Remove Travis and update references to Shippable. (#17649)Matt Clay2016-09-193-56/+7
| |
* | Do not set run_once for meta noop tasksJames Cammarata2016-09-191-1/+2
| | | | | | | | Fixes #17581
* | Update submodule refsToshio Kuratomi2016-09-192-10/+13
| |
* | Merge pull request #17638 from privateip/fix-netcliPeter Sprygada2016-09-191-1/+11
|\ \ | | | | | | fixes issue where netcli would cause exception with an invalid conditional
| * | fixes issue where netcli would cause exception with an invalid conditionalPeter Sprygada2016-09-191-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Conditional instance will cause a stack trace if the provided conditional does not map properly to the response. This fixes that issue so that the Conditional instance will now raise a FailedConditionalError with the conditional that caused the failure. Modules *_command modules (and any other modules that create an instance of Conditional) should be updated to catch the FailedConditionalError exception.
* | | Fix password lookup py3 plus alikins unittest additions refactoring (#17626)Toshio Kuratomi2016-09-194-177/+580
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Improve unit testing of 'password' lookup The tests showed some UnicodeErrors for the cases where the 'chars' param include unicode, causing the 'getattr(string, c, c)' to fail. So the candidate char generation code try/excepts UnicodeErrors there now. Some refactoring of the password.py module to make it easier to test, and some new tests that cover more of the password and salt generation. * More refactoring and fixes. * manual merge of text enc fixes from pr17475 * moving methods to module scope * more refactoring * A few more text encoding fixes/merges * remove now unused code * Add test cases and data for _gen_candidate_chars * more test coverage for password lookup * wip * More text encoding fixes and test coverage * cleanups * reenable text_type assert * Remove unneeded conditional in _random_password * Add docstring for _gen_candidate_chars * remove redundant to_text and list comphenesion * Move set of 'chars' default in _random_password on py2, C.DEFAULT_PASSWORD_CHARS is a regular str type, so the assert here fails. Move setting the default into the method and to_text(DEFAULT_PASSWORD_CHARS) if it's needed. * combine _random_password and _gen_password * s/_create_password_file/_create_password_file_dir * native strings for exception msgs * move password to_text to _read_password_file * move to_bytes(content) to _write_password_file * add more test assertions about genned pw's * Some cleanups to alikins and abadger's password lookup refactoring: * Make DEFAULT_PASSWORD_CHARS into a text string in constants.py - Move this into the nonconfigurable section of constants. * Make utils.encrypt.do_encrypt() return a text string because all the hashes in passlib should be returning ascii-only strings and they are text strings in python3. * Make the split up of functions more sane: - Don't split such that conditionals have to occur in two separate functions. - Don't go overboard: Good to split file system manipulation from parsing but we don't need to do every file manipulation in a separate function. - Don't split so that creation of the password store happens in two parts. - Don't split in such a way that no decisions are made in run. * Organize functions by when it gets called from run(). * Run all potential characters through the gen_candidate_chars function because it does both normalization and validation. * docstrings for functions * Change when we store salt slightly. Store it whenever it was already present in the file as well as when encrypt is requested. This will head of potential idempotence bugs where a user has two playbook tasks using the same password and in one they need it encrypted but in the other they need it plaintext. * Reorganize tests to follow the order of the functions so it's easier to figure out if/where a function has been tested. * Add tests for the functions that read and write the password file. * Add tests of run() when the password has already been created. * Test coverage currently at 100%
* | | Merge pull request #17646 from bcoca/commititJason McKerr2016-09-191-11/+20
|\ \ \ | | | | | | | | commiter doc update
| * | | xpaceBrian Coca2016-09-191-0/+2
| | | |
| * | | dashBrian Coca2016-09-191-15/+15
| | | |
| * | | commiter doc updateBrian Coca2016-09-191-11/+18
|/ / /
* | | draft of return common fieldsBrian Coca2016-09-191-0/+53
| | | | | | | | | | | | (cherry picked from commit da2da568a051d51edd8c25a4d324089f8bd616eb)
* | | update facts.py for aix (#17539)fallencliff2016-09-191-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update facts.py for aix add product_serial ,lpar_info,product_name and pv/vg info into facts 10.223.219.10 | SUCCESS => { "ansible_facts": { "ansible_all_ipv4_addresses": [ "77.77.77.1", "10.223.219.10" ], "ansible_all_ipv6_addresses": [ "::1%1/0" ], "ansible_architecture": "chrp", "ansible_date_time": { "date": "2016-09-13", "day": "13", "epoch": "1473760269", "hour": "17", "iso8601": "2016-09-13T09:51:09Z", "iso8601_basic": "20160913T175109568670", "iso8601_basic_short": "20160913T175109", "iso8601_micro": "2016-09-13T09:51:09.569251Z", "minute": "51", "month": "09", "second": "09", "time": "17:51:09", "tz": "BEIST", "tz_offset": "BEIST", "weekday": "Tuesday", "weekday_number": "2", "weeknumber": "37", "year": "2016" }, "ansible_default_ipv4": { "address": "10.223.219.10", "broadcast": "10.223.219.127", "device": "en3", "flags": [ "UP", "BROADCAST", "NOTRAILERS", "RUNNING", "SIMPLEX", "MULTICAST", "GROUPRT", "64BIT", "CHECKSUM_OFFLOAD(ACTIVE)", "LARGESEND", "CHAIN" ], "gateway": "10.223.219.1", "interface": "en3", "macaddress": "00:11:25:be:4b:75", "mtu": "1400", "netmask": "255.255.255.128", "network": "10.223.219.0", "type": "unknown" }, "ansible_default_ipv6": {}, "ansible_distribution": "AIX", "ansible_distribution_release": "1", "ansible_distribution_version": "6", "ansible_dns": {}, "ansible_domain": "", "ansible_en0": { "device": "en0", "flags": [ "UP", "BROADCAST", "NOTRAILERS", "RUNNING", "SIMPLEX", "MULTICAST", "GROUPRT", "64BIT", "CHECKSUM_OFFLOAD(ACTIVE)", "LARGESEND", "CHAIN" ], "ipv4": [ { "address": "77.77.77.1", "broadcast": "77.77.77.127", "netmask": "255.255.255.128", "network": "77.77.77.0" } ], "ipv6": [], "macaddress": "00:14:5e:b8:cd:a6", "mtu": "1500", "type": "unknown" }, "ansible_en3": { "device": "en3", "flags": [ "UP", "BROADCAST", "NOTRAILERS", "RUNNING", "SIMPLEX", "MULTICAST", "GROUPRT", "64BIT", "CHECKSUM_OFFLOAD(ACTIVE)", "LARGESEND", "CHAIN" ], "ipv4": [ { "address": "10.223.219.10", "broadcast": "10.223.219.127", "netmask": "255.255.255.128", "network": "10.223.219.0" } ], "ipv6": [], "macaddress": "00:11:25:be:4b:75", "mtu": "1400", "type": "unknown" }, "ansible_env": { "AUTHSTATE": "compat", "CLCMD_PASSTHRU": "1", "HOME": "/home/yd_hzj", "LANG": "C", "LC_ALL": "C", "LC_MESSAGES": "C", "LC__FASTMSG": "true", "LOCPATH": "/usr/lib/nls/loc", "LOGIN": "yd_hzj", "LOGNAME": "yd_hzj", "MAIL": "/var/spool/mail/yd_hzj", "NLSPATH": "/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat", "ODMDIR": "/etc/objrepos", "PATH": "/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin", "PWD": "/home/yd_hzj", "PYTHONPATH": "", "SHELL": "/usr/bin/ksh", "SSH_CLIENT": "10.223.172.41 33369 22", "SSH_CONNECTION": "10.223.172.41 33369 10.223.219.10 22", "SSH_TTY": "/dev/pts/12", "TERM": "vt100", "TZ": "BEIST-8", "USER": "yd_hzj", "_": "/usr/bin/python" }, "ansible_fips": false, "ansible_firmware_version": "SF240_358", "ansible_fqdn": "test1", "ansible_gather_subset": [ "hardware", "network", "virtual" ], "ansible_hostname": "test1", "ansible_interfaces": [ "en0", "lo0", "en3" ], "ansible_kernel": "1", "ansible_lo0": { "device": "lo0", "flags": [ "UP", "BROADCAST", "LOOPBACK", "RUNNING", "SIMPLEX", "MULTICAST", "GROUPRT", "64BIT", "LARGESEND", "CHAIN" ], "ipv4": [ { "address": "127.0.0.1", "broadcast": "127.255.255.255", "netmask": "255.0.0.0", "network": "127.0.0.0" } ], "ipv6": [ { "address": "::1%1/0" } ], "macaddress": "unknown", "mtu": "16896", "type": "unknown" }, "ansible_lpar_info": "1 test1", "ansible_machine": "00CE5FA34C00", "ansible_memfree_mb": 9992, "ansible_memtotal_mb": 98304, "ansible_nodename": "test1", "ansible_os_family": "AIX", "ansible_pkg_mgr": "svr4pkg", "ansible_processor": "PowerPC_POWER5", "ansible_processor_cores": 2, "ansible_processor_count": 12, "ansible_product_name": "IBM,9119-595", "ansible_product_serial": "02E5FA3", "ansible_python": { "executable": "/usr/bin/python", "has_sslcontext": false, "type": "CPython", "version": { "major": 2, "micro": 5, "minor": 7, "releaselevel": "final", "serial": 0 }, "version_info": [ 2, 7, 5, "final", 0 ] }, "ansible_python_version": "2.7.5", "ansible_selinux": false, "ansible_service_mgr": "src", "ansible_ssh_host_key_dsa_public": "AAAAE23Nzav1hVVTNNoYvp7eokKbwY", "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYvp7eokKbwY=", "ansible_ssh_host_key_rsa_public": "AAAAB3Nzav1hVVTNfKiM4W1j9mcw==", "ansible_swapfree_mb": 16558, "ansible_swaptotal_mb": 16896, "ansible_system": "AIX", "ansible_user_dir": "/home/yd_hzj", "ansible_user_gecos": "", "ansible_user_gid": 7, "ansible_user_id": "yd_hzj", "ansible_user_shell": "/usr/bin/ksh", "ansible_user_uid": 263, "ansible_userspace_bits": "32", "ansible_vgs": { "realsyncvg": [ { "free_pps": "6", "pp_size": "128 megabyte(s)", "pv_name": "hdisk74", "pv_state": "active", "total_pps": "1999" } ], "rootvg": [ { "free_pps": "0", "pp_size": "256 megabyte(s)", "pv_name": "hdisk0", "pv_state": "active", "total_pps": "546" }, { "free_pps": "113", "pp_size": "256 megabyte(s)", "pv_name": "hdisk1", "pv_state": "active", "total_pps": "546" } ], "testvg": [ { "free_pps": "838", "pp_size": "256 megabyte(s)", "pv_name": "hdisk105", "pv_state": "active", "total_pps": "999" }, { "free_pps": "599", "pp_size": "256 megabyte(s)", "pv_name": "hdisk106", "pv_state": "active", "total_pps": "999" } ] }, "module_setup": true }, "changed": false } * Update facts.py * Update facts.py
* | | New networking modules in 2.2John R Barker2016-09-191-0/+77
| | |
* | | Fix #17624 (#17627)Michael Scherer2016-09-191-2/+1
| | | | | | | | | Even if the size of the network is 0, it should have a netmask.
* | | Fix call to `axapi_call_v3()` (#17637)Nathaniel Case2016-09-191-2/+1
| | | | | | | | | Closes #17584
* | | Networking status for 2.2John R Barker2016-09-191-3/+3
| | | | | | | | | Now that we are at feature freeze update the status
* | | cloudstack: move common code to module_utils (#17635)René Moser2016-09-191-0/+27
| | |
* | | Another minor typo fix ;) (#17631)Justin Clift2016-09-191-1/+1
| | |
* | | Minor typo fix for FreeBSD (#17633)Justin Clift2016-09-191-1/+1
| | |
* | | cloudstack: fix has_changed dict values comparsion (#17632)René Moser2016-09-191-1/+11
|/ / | | | | | | | | | | In some rare situations, the CloudStack API returns string for numbers when we expected int. With this fix, we ensure we compare the types expected.
* | Merge pull request #17625 from skg-net/dellos6_templatePeter Sprygada2016-09-183-7/+121
|\ \ | | | | | | Added support for template module for Dell Networking OS6 devices
| * | Added support template module for Dell Networking OS6 devicesSenthil Kumar Ganesan2016-09-173-7/+121
| | |
* | | Merge pull request #17613 from Qalthos/pyez_checkPeter Sprygada2016-09-181-0/+10
|\ \ \ | | | | | | | | Add simple checks for libraries to junos
| * | | Add simple checks for libraries to junosNathaniel Case2016-09-161-0/+10
| | | |
* | | | Merge pull request #17623 from dgjustice/nxos_fixesPeter Sprygada2016-09-181-4/+14
|\ \ \ \ | | | | | | | | | | Fixed transport issues when calling self.execute from Cli