Commit Graph

3397 Commits

Author SHA1 Message Date
Steven Robertson 437761ebef more test scripts 2020-09-03 21:56:08 -07:00
Steven Robertson 5dee6fb891 fix ansible install, also TODO: why do we have 3 almost the same install scripts... 2020-09-03 21:50:19 -07:00
Steven Robertson 130e111f21 rename test and add VER to mito27_27 2020-09-03 21:47:14 -07:00
Steven Robertson fa1269bca8 see what happens with only ansible 2.10 tests, still need to install collections tho 2020-09-03 21:44:08 -07:00
Steven Robertson 02aedcdacd fix issue with collections module_utils raised in alikins example 2020-08-31 22:08:06 -07:00
Steven Robertson 03438271bb able to remove the hack on ActionBase after all 2020-08-27 20:01:47 -07:00
Steven Robertson 19f92a2435 fix inefficient basepath check 2020-08-27 19:56:35 -07:00
Steven Robertson 5215646c8a code cleanup 2020-08-25 23:28:21 -07:00
Steven Robertson 0b421e0d3c able to run docker_container installed via 'ansible-galaxy collection install community.general' 2020-08-25 23:24:41 -07:00
Steven Robertson 45797a0d34 able to send collections paths to master with very little change to core Mitogen, need to ensure imports work properly now though 2020-08-24 21:25:59 -07:00
Steven Robertson 6e51f1a184 found a way to load collections without affecting mitogen core code 2020-08-23 20:42:55 -07:00
Steven Robertson 8d3ee26079 code cleanup 2020-08-23 18:01:37 -07:00
Steven Robertson ca94751f15 remove hack 2020-08-23 17:37:59 -07:00
Steven Robertson f1bdc39047 added note about breaking backwards compat 2020-08-23 17:32:58 -07:00
Steven Robertson 1d13df718a connection_loader.get isn't called anymore, it's connection_loader.get_with_context now 2020-08-23 17:31:10 -07:00
Steven Robertson 6ba08097b6 more notes, strategy plugin is being called but Mitogen's method overrides aren't being triggered 2020-08-23 00:15:29 -07:00
Steven Robertson ca4e8116b7 TODO: turns out ansible 2.10 doesn't run Mitogen like it used to; was running old ansible version before because ansible-base didn't override everything. Did a fresh uninstall of ansible and installed 2.10.0 and Mitogen's connection monkeypatching isn't working 2020-08-20 00:38:41 -07:00
Steven Robertson 1bd4b8afcd much thinking needs to be done regarding how to handle not requiring sshpass... 2020-08-18 00:53:30 -07:00
Steven Robertson 6ac9168d55 need to get around sshpass check here somehow: https://github.com/ansible/ansible/blob/v2.10.0/lib/ansible/plugins/connection/ssh.py#L577 2020-08-16 00:43:41 -07:00
Steven Robertson 583f540889 added comments 2020-08-16 00:22:08 -07:00
Steven Robertson cc8febb841 use new released 2.10 2020-08-15 23:39:37 -07:00
Steven Robertson e34cf8667f
Merge branch 'master' into collectionsSupport 2020-07-30 22:15:45 -07:00
Steven Robertson a60c6c14a2
Merge pull request #723 from s1113950/fixTests
Fixes tests
2020-07-30 20:08:50 -07:00
Steven Robertson bacc752ff2 Pegs python 2 version, removes unused imports, fixes sudden ssh dir with bad perms, generates key for sudo user as well in tests 2020-07-30 19:44:29 -07:00
Steven Robertson a18be5afef
Merge pull request #728 from nmattia/nm-fix-typo
Fix typo in Ansible documentation
2020-06-26 11:55:32 -07:00
Nicolas Mattia 4d48f140a8 Fix typo in Ansible documentation 2020-06-26 12:21:44 +02:00
Steven Robertson 3a52b44b6b
Merge pull request #719 from s1113950/issue672
Resolves ansible 2.9+, Mitogen, and Python 3.5 setup module issue
2020-06-15 10:42:42 -07:00
Steven Robertson 81076c9da8 fixes setup module relative import fail on some pythons 2020-06-15 10:17:34 -07:00
Steven Robertson 67f1ca97c4
Merge pull request #722 from luizribeiro/patch-1
Fix mitogen_ssh_keepalive_interval documentation
2020-06-08 10:29:16 -07:00
Luiz Ribeiro 0e47280e43
Fix mitogen_ssh_keepalive_interval documentation 2020-06-07 11:00:32 -04:00
Steven Robertson 376d8d0fab remove old hacks; ansible_collections is available at time of invoker but not later 2020-05-26 23:47:32 -07:00
Steven Robertson 1ef96b5827 normal search-jump-around-code-easily word exists in the code already so switching to jjj 2020-05-26 01:04:42 -07:00
Steven Robertson afd8902d6b hackily sorta got imp.find_module to load module_utils but it breaks further package discovery, needs fix 2020-05-26 01:02:02 -07:00
Steven Robertson 955e77c5db WIP: able to load subdirs but now need to treat them as submodules properly 2020-05-25 21:35:05 -07:00
Steven Robertson ab55d05267 all in on ansible 2.10+ for collections support 2020-05-25 20:26:20 -07:00
Steven Robertson c92a9ace41 bump max ansible version 2020-05-25 17:44:44 -07:00
Steven Robertson b20aa982c7 use a commit that actually exists 2020-05-25 17:35:05 -07:00
Steven Robertson ac1e72eec4 Merge branch 'master' into collectionsSupport 2020-05-25 17:24:20 -07:00
Steven Robertson c2ee512a99 fix duplicate test name 2020-05-25 17:23:46 -07:00
Steven Robertson 40183138b4 add some tests pointing to almost-devel version of Ansible for collection preparation 2020-05-25 17:22:43 -07:00
Steven Robertson 921f3aa98c
Merge pull request #717 from s1113950/issue716
Handles no tmpdir in fetch command for old ansible versions
2020-05-15 15:22:29 -07:00
Steven Robertson e632310fc4 no tmpdir to remove for old ansible versions in fetch command 2020-05-15 14:55:48 -07:00
Steven Robertson 4b42dd1434 able to load things from sys.modules but not everything loads that way 2020-05-08 18:58:09 -07:00
Steven Robertson 3dbfe085ab close-ish, getting 'ansible_collections has no submodule alikins' though because of empty submodules 2020-05-08 16:39:01 -07:00
Steven Robertson ddc1eebec8 able to load collection but the mitogen master proc was unable to serve it 2020-05-08 12:56:07 -07:00
Steven Robertson e99d63f4fc able to load collections but they don't do anything because no actionmodulemixin, need to tweak how this works 2020-05-08 12:30:44 -07:00
Steven Robertson 74b7934e37
Merge pull request #710 from s1113950/issue655
Handles a `wait_for_connection` call right after a task caused a shutdown
2020-05-08 08:14:05 -07:00
Steven Robertson acde13f9d6 handles a 'wait_for_connection' call right after a task caused a shutdown 2020-04-30 17:53:06 -07:00
Steven Robertson cee088fa80
Merge pull request #705 from s1113950/ansible2.9.6
Adds basic Ansible 2.9.6 support, tests use desired Ansible version now, and disabled flaky test on py3.6
2020-04-30 16:00:07 -07:00
Steven Robertson c12e3d0f92 disable flaky test on py3.6 2020-04-30 14:49:12 -07:00