bed9a9597a
galaxy-cli tasking polling interval from environment variable ( #83803 )
...
Added configuration options, including environment variables to control the polling
No-Issue
---------
Signed-off-by: James Tanner <tanner.jc@gmail.com >
Co-authored-by: s-hertel <19572925+s-hertel@users.noreply.github.com >
Co-authored-by: Jordan Borean <jborean93@gmail.com >
2024-08-26 10:14:50 -04:00
jctanner and GitHub
b019029bf3
Add intentional unit tests for basic._set_cwd and common.dict_merge ( #70283 )
...
* Add unit tests for basic._set_cwd
* incidental coverage for dict_merge
* add test for async stderr inclusion
2020-06-25 14:45:13 -05:00
jctanner and GitHub
f11b1454bb
prepare for future ansibot collection changes ( #68944 )
2020-04-14 13:11:05 -04:00
jctanner and GitHub
c067beecda
disable bot notification spam ( #68460 )
...
* disable bot notification spam
* add new key to botmeta sanity
2020-03-25 11:45:53 -04:00
jctanner and GitHub
2efb876b4c
Fix ignored team ( #57307 )
...
* Fix ignored team
* add another team member
2019-06-03 10:10:19 -04:00
jctanner and Greg DeKoenigsberg
1515afd92c
set team ansible ( #57246 )
2019-05-31 17:17:46 -04:00
James Tanner and Toshio Kuratomi
940d58e1b3
Nullify improperly licensed test file
2019-05-15 13:57:36 -04:00
jctanner and Sloane Hertel
6d978bc285
check aws inv plugin ( #53435 )
...
* Add the constructed config with legacy settings enabled to match the script
* Add interesting characters in tags and security group names
* add strict to config
* Add a stopped instance in inventory
* Create symlinks in the test
* Add reservation details to mock
* run script and plugin with a virtual env
* call the script with ansible-inventory
* Fix code coverage collection.
2019-03-25 11:15:31 -05:00
jctanner and Brian Coca
ce58ebf71d
Fix usetty keyword in example ansible.cfg ( #51084 )
2019-01-18 18:48:28 -05:00
James Tanner and Toshio Kuratomi
b6220ce16a
rhn_channel lacks sufficient testing and supportability
2018-12-07 11:13:19 -08:00
jctanner and GitHub
f6c83538d3
ignore yum module creator ( #49009 )
2018-11-21 19:47:45 -05:00
jctanner and GitHub
1ded3f9890
Handle non-ascii characters in foreman.py ( #46779 )
...
* Handle non-ascii characters in foreman.py
* Add test to validate non-ascii results
2018-10-15 21:40:51 -04:00
jctanner and GitHub
0b15ad00c1
Add a test target for the foreman inventory script ( #46837 )
...
Add a test target for the foreman inventory script
2018-10-14 20:51:25 -04:00
jctanner and Abhijeet Kasurde
ab133def0b
vmware_guest test - Use the cluster name instead of the path ( #45368 )
2018-09-08 04:06:16 +05:30
jctanner and Ryan Brown
653d9c0f87
New keyword: ignore_unreachable ( #43857 )
2018-08-23 11:41:02 -04:00
jctanner and Martin Krizek
a9e53cdb68
Allow config to enable native jinja types ( #32738 )
...
Co-authored-by: Martin Krizek <martin.krizek@gmail.com >
2018-05-31 10:38:29 +02:00
jctanner and John R Barker
1d5fe326e8
Add a cloud provider and a set of smoketests for the NIOS modules ( #40573 )
...
* Add a cloud provider and a set of smoketests for the NIOS modules
2018-05-25 13:50:45 +01:00
jctanner and GitHub
5df370243d
Fix case ( #40272 )
...
* Github logins are case sensitive
* Fix login case across all modules
2018-05-16 19:51:55 -04:00
jctanner and GitHub
bbfe7a8b2f
more debug logs for free, network_cli, paramiko and add hostname context to debugging messages ( #39205 )
...
* Add hostname context to debugging messages
* Set paramiko's channel
2018-04-26 17:10:28 -04:00
jctanner and GitHub
05830658bc
task_executor send the task as a kwarg to connections ( #39341 )
...
* make taskexecutor send the task as a kwarg to connections
* Fix line length error
* Send just the task uuid
2018-04-26 14:17:16 -04:00
jctanner and GitHub
2f32e0ba2d
Remove me from botmeta ( #39263 )
...
* Remove myself from team_vmware
* Remove myself from maintainership of all modules
2018-04-24 19:55:04 -04:00
jctanner and Brian Coca
068b9ac523
keep track of original inventory hostname in play context ( #38818 )
...
this change further enables the ansible-vcr project to collect fixtures per host in
situations where the host context is totally lost due to delegation.
* Keep some original pre-delegate values in connection options
2018-04-16 17:16:57 -04:00
jctanner and Adam Miller
e10724fadb
dedupe the --rsh options in favor of user supplied ( #38096 )
2018-03-29 09:32:27 -05:00
jctanner and Toshio Kuratomi
7ea05a2d56
synchronize: fix the mixture of quoting and passing of lists to run_command ( #38020 )
...
* switch to six.moves.shlex_quote
* remove the unncessary quotes on rsh
2018-03-28 18:45:49 -07:00
James Tanner and Brian Coca
d1f76939e5
Do not cache the loop item label so that it will update with each item
2018-02-21 10:02:03 -05:00
jctanner and John R Barker
4ec16867fd
Fix loop/with typo in loops doc ( #35652 )
2018-02-02 13:33:13 +00:00
jctanner and GitHub
3116585ae4
Ignore previous acl.py maintainer and also remove myself from docker* modules ( #35216 )
2018-01-23 10:08:16 +01:00
jctanner and John R Barker
b10d5f34ea
Extend validate-modules to check the next to last line ( #34819 )
...
* Add validation for the next to last line of a module
* Fix last error code
* Reduce to a single conditional
* Fix conditionals
* Move the final warnings statement to main() in mysql_replication
2018-01-15 15:49:35 +00:00
jctanner and GitHub
8a4e761814
Enable the pull target to work in vvvv mode ( #33755 )
2017-12-11 10:09:21 -05:00
jctanner and GitHub
218987eac1
ANSIBLE_SSH_USETTY configuration option ( #33148 )
...
* Allow the user to circumvent adding -tt on ssh commands to help aid in
debugging ssh related problems.
* Move config to the plugin
* Set version_added
* Change yaml section to "connection"
* Fix ssh unit tests
2017-11-22 11:19:43 -05:00
jctanner and GitHub
c76ce54aee
Add -f/--list_files option to the ansible-doc command for faster list ( #32524 )
...
Add -f/--list_files option to the ansible-doc command for faster listing of plugins and show where they were found.
2017-11-02 21:29:55 -04:00
James Tanner and Brian Coca
ded0b6ed83
Change the ssh+sudo debug messages to vvv for easier troubleshooting in awx+tower
2017-10-30 10:41:50 -04:00
jctanner and GitHub
6bf0cc36a7
Bump the vcsim container version ( #31861 )
2017-10-18 08:40:23 -04:00
James Tanner
87db43afce
Remove duplicate import
2017-10-16 21:50:31 -04:00
James Tanner
940bf1f627
Fallback to the newer object type for dvswitch
2017-10-16 21:50:31 -04:00
James Tanner
cc287daa3b
Enable tracing and log collection in the vcsim container
2017-10-16 21:50:31 -04:00
James Tanner
e5eedfe4b8
Allow the user to declare an env var to set the vcsim container image
2017-10-16 21:50:31 -04:00
jctanner and Sam Doran
c05a7add5f
Only install pyvmomi if user is root ( #31628 )
2017-10-12 10:20:33 -04:00
James Tanner
eca4897a08
Include the top level folder for esxi in the break condition
2017-10-02 12:31:51 -04:00
James Tanner
8c368b25cd
Implement second change from #30826
2017-10-02 12:31:51 -04:00
James Tanner
1c1c89927d
Get the moid in a more failsafe manner
2017-10-02 12:31:51 -04:00
jctanner and John R Barker
6b6a145027
Add an option to spawn vcsim in esx mode ( #31155 )
2017-10-02 13:44:13 +01:00
jctanner and GitHub
32cf69c00a
Use the group-d1 moId instead of i8ln based names to identify the root folder. ( #31077 )
...
Addresses #29043
2017-09-28 20:36:54 -04:00
jctanner and ansibot
219a6a67f1
Add a select_chain_match filter to vmware_inventory ( #28778 )
2017-09-27 19:06:01 -04:00
jctanner and GitHub
0dd3a61a75
vmware_guest: tests for createvm+modifyvm tasks ( #30959 )
...
* Save the serialized values instead of their types
* Add tests for creating and modifying VMs without using a template
* Remove blank line
* Add tests for vm deletion
2017-09-27 18:10:08 -04:00
James Tanner
932f62ab57
Move resource pool login to a separate function and fix undefined var reference
2017-09-26 14:41:33 -04:00
James Tanner
0bb3c4379c
device operations are recursive if serialized
2017-09-26 14:41:33 -04:00
jctanner and GitHub
ada404d0ac
vmware_guest: refactor spec serialization ( #30819 )
...
* Refactor spec serialization so that native types are evaluated last.
* Remove redundant type checks
Fixes #30818
2017-09-25 09:24:57 -04:00
jctanner and GitHub
5aebcd4f7f
Remove redundant check for group membership in add_host ( #30530 )
2017-09-18 20:22:30 -04:00
jctanner and GitHub
9da5f542cc
Remove rabbitmq maintainer. ( #30531 )
...
Fixes #30499
2017-09-18 20:03:32 -04:00
jctanner and GitHub
254327c70d
Add more meta for vmware and ec2 ( #28824 )
...
* Add more meta for vmware and ec2
* Add another string for ec2.py
* more keywords for ec2
2017-08-30 11:31:43 -04:00
jctanner and GitHub
4b4c946b4b
Add more bot meta about inventory scripts ( #28794 )
...
* Add more bot meta about inventory scripts
* Add a key for the botmeta too
2017-08-29 15:34:39 -04:00
jctanner and Adrian Likins
62e01aecfb
Listify the linode script maintainers ( #28671 )
2017-08-28 12:27:08 -04:00
James Tanner
c3b2a48972
Add missing colon
2017-08-25 11:05:58 -04:00
jctanner and GitHub
443b25d72a
Fixup the property collection for dictionaries vs. objects ( #28609 )
...
* Fixup the property collection for dictionaries vs. objects
* Remove debug lines
* Do not attempt to sort because it's a waste
* Remove unused code
* Remove extra code
* Capture lowercase keys
2017-08-25 09:53:01 -04:00
jctanner and GitHub
65feaa11b2
Fix valueerror in vmware_inventory.py ( #28597 )
2017-08-24 10:04:52 -04:00
jctanner and GitHub
f4e93ccc1a
Fix the authors in pure storage modules so the bot can ping the right users. ( #28347 )
2017-08-17 13:32:23 -04:00
jctanner and GitHub
83ac480241
Correct the formatting for azure_rm's maintainers ( #28346 )
2017-08-17 12:41:14 -04:00
jctanner and GitHub
b2bbc63ab6
Remove at symbol from botmeta ( #28305 )
2017-08-16 19:26:24 -04:00
jctanner and GitHub
8a69706037
Add automerge key ( #28220 )
2017-08-15 10:24:22 -04:00
jctanner and Sloane Hertel
3b20585ada
Fix 23417 ( #27770 )
...
* Expose user_metadat to ansible
* Fixed exception when no userData
2017-08-04 13:28:40 -04:00
jctanner and GitHub
e1abed28ba
Fix version_added from #21822 ( #27665 )
2017-08-02 15:34:08 -04:00
jctanner and GitHub
93f98effe9
Update version added from #20777 ( #27662 )
2017-08-02 15:33:55 -04:00
jctanner and GitHub
baf1ed9100
[WIP] Create preserved_copy function in basic.py to perserve file ownership. ( #27344 )
...
Create preserved_copy function in basic.py to perserve file ownership.
* Add a test for template preserved backup
* Use a script to get the random names
* bytes to strings
* Remove dump of hostvars
* Stop being fancy and create a testuser instead
* Fix pep8
* set file attributes
* Pass the correct data to set_attributes_if_different
* Use -j instead -b and pass the attributes as a string instead of a list
* remove debugging message
* Use shell to softly set the attr
Fixes #24408
2017-08-02 10:04:09 -04:00
jctanner and GitHub
245a4d30b9
vmware_guest: fix datastore selection on equal sized disks and add tests ( #26774 )
...
* Fix datastore selection on equal sized disks and add tests
2017-07-13 22:02:33 -04:00
jctanner and GitHub
df507ca9c4
vmware_guest: fixes for cache objects and datacenter association ( #26719 )
...
* vmware_guest: fixes for cache objects and datacenter association
* find_all_objs was only looking for datastores
* Clear the result if it's datacenter is not correct.
* Re-enable pyvmomi installation
Addresses #25011
Addresses #26511
2017-07-12 17:10:48 -04:00
jctanner and GitHub
10fc4417f7
vmware_guest: use the datacenter as a context for clone specs ( #26511 )
...
* Slight refactor on vmware_guest to fix path searching and vcsim compatibility.
* Clean up pep8 errors
* Fix more pep8 issues
* Add assertions
* Remove debug failure
* Update docsting for folder with examples
* Revise _get_vm_prop based on suggestions
* Implement folder walker to find a folder path
* More enhancements for datacenter->datacenter cloning
* Fix a few pep8 issues
* Remove useless check for subclass of None
* Fix a few suggestions
* Move serialize_spec to a util function
* Group exceptions together
Fixes #25011
2017-07-11 23:07:00 -04:00
jctanner and GitHub
43e5f34ffd
Add maintainers/botmeta version 2 ( #26642 )
2017-07-11 14:47:26 -04:00
jctanner and Brian Coca
db5c0b3b2b
Use the new file content function post facts refactoring. ( #26353 )
...
* Use the new file content function post facts refactoring.
Fixes #26339
* Do not make new abstraction ... use the real function
* Fix pep8 error
2017-07-03 10:35:17 -04:00
jctanner and Matt Clay
996dcb989c
Add the cloud provider script for the vcenter simulator container ( #25964 )
2017-06-22 10:49:58 -07:00
jctanner and Matt Clay
33c61d1cdf
Vcsim container ( #25236 )
...
* Add container files for vcenter simulator
* Add controller file to spin up the container during tests
2017-06-21 06:44:40 -07:00
jctanner and GitHub
58db0da5a5
Fix pep8 extra lines error ( #25666 )
2017-06-13 13:59:23 -04:00
jctanner and GitHub
bfc551b3f8
Add vmware_guest_find.py module ( #24260 )
...
* Add vmware_guest_find.py module
* Fixup linter errors
* Add missing empty line
2017-05-16 08:48:40 -07:00
jctanner and GitHub
e9c2546ffe
Add integration test targets for core supported modules ( #24217 )
...
A preliminary set of test targets for "core" supported module that had no independent tests. These will also help us ensure python3 compatibility for those modules and prevent future regressions.
2017-05-10 09:19:11 -04:00
jctanner and GitHub
08a3ea2221
sysctl: switch basestring to string_types ( #24277 )
2017-05-03 21:31:57 -04:00
jctanner and GitHub
a5d6d3b9af
Remove unused+circular import in listify.py ( #24038 )
2017-04-26 16:56:00 -04:00
jctanner and GitHub
447bb2b150
Add a custom regex_match filter to the vmware_inventory script ( #21488 )
2017-03-17 21:25:00 -04:00
jctanner and GitHub
8c521655e1
Fix traceback on indexing empty list ( #21784 )
...
* Fix traceback on indexing empty list
* Make it more 'idiomatic'
* Forgot the index
2017-02-22 16:14:39 -05:00
jctanner and GitHub
40235d7b99
Skip fact gathering if the entire play was included via conditional and False ( #21734 )
...
Addresses #21528
2017-02-21 14:46:10 -05:00
jctanner and GitHub
6726d5f8f8
Update changelog for controlpersist path feature ( #20928 )
2017-02-01 10:44:37 -05:00
jctanner and GitHub
ac78347f2b
Use a -short- custom hash for controlpersist path by default ( #20843 )
...
* A method to validate and alter the ssh control path automatically.
* First tries %C to use the shortened hash
* On further failure, it removes section by section from the original path
* Fix hostname
* Implement bcoca's suggested changes
* Remove unused option
* Remove unused class var
* Use to_string to avoid unicode error
* Switch from to_text to to_bytes
* Update the example config for the new controlpath feature
2017-02-01 10:39:40 -05:00
jctanner and Matt Clay
d2bb9c1298
vmware_guest: Fix the esxi_hostname docstring to match the arg dict's required= ( #3479 )
...
Fixes #3476
2016-12-08 11:35:08 -05:00
jctanner and Matt Clay
46174588ca
Refactor usage of type() ( #3412 )
...
Addresses https://github.com/ansible/ansible/issues/18440
2016-12-08 11:35:06 -05:00
jctanner and Matt Clay
b3795322e9
More isinstance fixes ( #3405 )
...
* More isinstance fixes
* Use double types
2016-12-08 11:35:06 -05:00
jctanner and Matt Clay
6cfb44b4bb
replace type() with isinstance() ( #3404 )
...
Replace use of type() with isinstance()
Addresses https://github.com/ansible/ansible/issues/18310
2016-12-08 11:35:06 -05:00
jctanner and Matt Clay
94175476b7
Implement a workaround for broken FindByInventoryPath method in pyvmomi ( #3243 )
...
* Add initial support for using a cluster instead of an esxi hostname
* FindByInventoryPath doesn't always work, so implement a fallback method to match the path
2016-12-08 11:35:02 -05:00
jctanner and Matt Clay
981d1d3f96
vmware_guest: set the cpu and memory settings on clone ( #3027 )
...
Fixes #3026
2016-12-08 11:34:54 -05:00
jctanner and Matt Clay
4cb3e87ca4
vmware_guest: do not assume disk params contain a datastore ( #2974 )
...
* vmware_guest: do not assume disk params contain a datastore
* Fix missed line during connection refactor
2016-12-08 11:34:53 -05:00
jctanner and Matt Clay
10e50652b2
vmware_guest: small refactor ( #2955 )
...
* use connecion method from module_utils
* use resource group related to host system
Addresses #2911
2016-12-08 11:34:52 -05:00
jctanner and Matt Clay
3dedecd81e
vmware_guest improve and fix some of the errors ( #2926 )
...
* Add more comments and fix issue with unit conversion
2016-12-08 11:34:51 -05:00
jctanner and Matt Clay
d9b5d9e551
vmware_guest: use the disk argument to modify disk size and type ( #2918 )
...
Fixes #2706
2016-12-08 11:34:51 -05:00
jctanner and Matt Clay
b6fd074bd0
vmware_guest implement clonevm for multi-dc environments ( #2909 )
...
* Fix bug in processing of null return
* Fix multi-dc folder location by enhancing the foldermap and using it to search
* Remove unused functions
* Refactor finding vm by folder
Fixes #2900
2016-12-08 11:34:50 -05:00
jctanner and Matt Clay
859ff8e886
Fix vmware_guest disk and nic parameters and docstrings ( #2705 )
...
* Fix vmware_guest disk and nic parameters and docstrings
* vmware_guest: remove default for required params
2016-12-08 11:34:40 -05:00
James Tanner and Matt Clay
3170180049
Consolidate to one module and use new arg spec
2016-12-08 11:34:36 -05:00
James Tanner and Matt Clay
7b65afa83e
add examples
2016-12-08 11:34:35 -05:00
James Tanner and Matt Clay
222f9bc08a
Remove print statements
2016-12-08 11:34:35 -05:00
James Tanner and Matt Clay
d051701359
fix tabs
2016-12-08 11:34:35 -05:00
James Tanner and Matt Clay
474b52ae47
Add the guest state module
2016-12-08 11:34:35 -05:00
James Tanner and Matt Clay
855a408718
Rename module
2016-12-08 11:34:35 -05:00
James Tanner and Matt Clay
4722144acf
Add return data example
2016-12-08 11:34:35 -05:00