1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
Commit graph

13866 commits

Author SHA1 Message Date
Toshio Kuratomi
f4c1260d03 Add more tests for private docker registries 2015-03-18 12:16:18 -07:00
Brian Coca
ba4e9a4c82 added missing become method inventory override 2015-03-17 19:19:48 -04:00
Toshio Kuratomi
259744d5f4 Remove debug statements 2015-03-17 14:41:06 -07:00
Toshio Kuratomi
2cfeec3683 Add tests using a docker private registry 2015-03-17 14:41:06 -07:00
Brian Coca
fe6a2d644d Merge pull request #10487 from sgargan/cron-pull-path-issue
avoid path issues by determining the path of ansible-pull and using its ...
2015-03-17 17:37:42 -04:00
Steve Gargan
4ce791fe84 avoid path issues by determining the path of ansible-pull and using its path to run ansible and ansible-playbook 2015-03-17 21:25:45 +00:00
Toshio Kuratomi
9e14471471 And ran into a different problem with centos6. Sigh. 2015-03-17 14:14:26 -07:00
Toshio Kuratomi
85e137bbad Attempt to enable docker tests for rhel/centos6 as well 2015-03-17 13:52:44 -07:00
Toshio Kuratomi
f8ec1451ea Would help if I added these files in the right directory 2015-03-17 13:31:54 -07:00
Toshio Kuratomi
23291e8d8c Ugh, looks like very few distros have the proper packages to run the docker module.
break up the tests so that we can maybe  run this on at least one
platform
2015-03-17 13:18:42 -07:00
Toshio Kuratomi
a64de2e000 Initial test of the docker module 2015-03-17 12:32:07 -07:00
Toshio Kuratomi
f9a66a7ff7 Update core module pointer 2015-03-17 11:03:15 -07:00
Toshio Kuratomi
e42848e0fe Better comment for why we have get_checksum call itself sometimes 2015-03-17 11:02:07 -07:00
James Cammarata
3473a3bbec Changes to become cmd formatting, per a47c132 2015-03-17 10:50:41 -05:00
James Cammarata
316284c56b Making blocks support become, and cleaning up sudo/su references 2015-03-17 10:35:46 -05:00
Brian Coca
b11be68249 updated module ref 2015-03-16 19:40:37 -04:00
Brian Coca
bbdcba53da fixed bug on using su on play level not setting become method correctly 2015-03-16 19:37:03 -04:00
Brian Coca
a47c132695 slight changes to allow for checksum and other commands to work correctly with quoting 2015-03-16 19:09:03 -04:00
Toshio Kuratomi
23f7538016 Merge pull request #10467 from sgargan/ec2_creds_error
Fix for issue #10422.
2015-03-16 14:51:08 -07:00
Steve Gargan
ada2567dfb log errors and explicitly exit rather than raising exceptions 2015-03-16 20:00:18 +00:00
Toshio Kuratomi
37ab61c542 Update core pointer to make use of DOCKER_TLS_VERIFY env var:
https://github.com/ansible/ansible-modules-core/issues/946
2015-03-16 11:46:44 -07:00
Toshio Kuratomi
1bf0e60646 Update core module pointer 2015-03-16 11:34:55 -07:00
Brian Coca
b783ea94bb fixed raw return check for privilege escalation 2015-03-16 14:00:07 -04:00
Brian Coca
5eae435357 removed Darwin get_uptime_facts as it seems to crash on OS X, will waiy for a
patch tested by someone that has access to the platform
2015-03-16 13:41:36 -04:00
Brian Coca
3312a76987 Merge pull request #10461 from cblument/fact_ansible_uptime
Adding uptime_seconds fact for linux and darwin platforms
2015-03-16 09:11:23 -04:00
Toshio Kuratomi
caf2a96ef9 Merge pdksh fix to v2 2015-03-15 13:22:07 -07:00
Toshio Kuratomi
27be0421c0 Merge pull request #10466 from eest/env-setup_pdksh
env-setup: Don't use ${.sh.file} if shell is pdksh
2015-03-15 12:59:42 -07:00
Steve Gargan
fbff0449ce fix for issue #10422. outputs informative error message when AWS credentials are not available 2015-03-15 12:24:42 +00:00
Patrik Lundin
731b268cd6 env-setup: Don't use ${.sh.file} if shell is pdksh
The default ksh in OpenBSD throws the following error:
===
$ . hacking/env-setup
ksh: hacking/env-setup[23]: ${.sh.file}": bad substitution
[...]
===

The same error can be seen on Linux if pdksh is used.
2015-03-15 10:46:21 +01:00
Chris Blumentritt
7813ffd719 Adding uptime_seconds fact for linux and darwin platforms
Adds ansible_uptime_seconds facts for linux and darwin platforms.  BSD
platforms may also work.
2015-03-13 15:52:16 -05:00
James Cammarata
22304afd1d More fixing of become stuff in v2 2015-03-13 15:31:20 -05:00
Toshio Kuratomi
70f56c135c Port #10357 to v2 2015-03-13 11:44:58 -07:00
Toshio Kuratomi
8c3b5690e5 Merge pull request #10357 from htgoebel/devel
Fix detect of docker as virtualization_type.
2015-03-13 11:40:15 -07:00
Brian Coca
c2a87a20ee Merge pull request #10459 from mrcrilly/patch-1
Correct version number.
2015-03-13 14:37:11 -04:00
Michael Crilly
8e346186b2 Correct version number.
1.8.4 is the latest stable now, I believe.
2015-03-13 18:07:18 +00:00
James Cammarata
070c7c319f Started implementing become in v2 2015-03-13 11:58:00 -05:00
James Laska
f451974efe Use correct URL for travis status badge
This uses the `devel` branch when displaying the travis-ci status badge.
2015-03-13 10:56:30 -04:00
Brian Coca
d65e1ee2cb Merge pull request #10455 from jlaska/tox_and_travis
Add tox and travis-ci support
2015-03-13 10:15:59 -04:00
James Laska
60acdee0dc Enable assert_raises_regexp on py26 2015-03-13 08:21:14 -04:00
James Laska
3d67e9e0c0 Add tox and travis-ci support
Add tox integration to run unittests in supported python releases.
Travis-CI is used for test execution.

Additionally, the unittest TestQuotePgIdentifier was updated to support
using assert_raises_regexp on python-2.6.

Sample travis-ci output available at
https://travis-ci.org/ansible/ansible/builds/54189977
2015-03-13 08:20:24 -04:00
Toshio Kuratomi
c8de03d516 Merge pull request #10448 from jhermann/add-test-requirements
added test requirements for pip
2015-03-12 13:57:10 -07:00
Toshio Kuratomi
f05cda6ffc Comma is also dependent on position within the hash 2015-03-12 13:20:51 -07:00
jhermann
90886594fa added test requirements for pip 2015-03-12 21:04:38 +01:00
Brian Coca
c94c3d134e Merge pull request #10447 from bcoca/sync_test_fix
fixed and reintroduced syncronize test
2015-03-12 14:47:08 -04:00
Brian Coca
74bf59082d fixed and reintroduced syncronize test, fakerunner object needed become_method to be it's default 'sudo' 2015-03-12 14:48:06 -04:00
Toshio Kuratomi
644e50fe34 Hash randomization makes one of the heuristic_log_sanitize checks not work.
Nothing we can do, when it sanitizes ssh_urls it's simply overzealous.
2015-03-12 11:39:47 -07:00
Brian Coca
b5d23543f0 fixed and reintroduced syncronize test, fakerunner object needed become_method to be it's default 'sudo' 2015-03-12 14:22:24 -04:00
James Cammarata
b1d78a61fc Initial support for vault in v2
TODO:
* password prompting needs to be implemented, but is being worked on
  as part of the become privilege escalation changes
2015-03-12 12:14:57 -05:00
James Cammarata
eb850bf81a Fix issue with unarchive disabling pipelining mode
Was using persist_files=True when specifying the create paramater,
which breaks pipelining. Switched to use delete_remote_tmp=False instead,
which is the proper way to preserve the remove tmp dir when running
other modules from the action plugin.
2015-03-12 10:22:06 -05:00
Brian Coca
a675b10b3b Merge pull request #10329 from bcoca/var_merge_combined
changed from hash_merge to combine vars which resets default to
2015-03-12 10:58:12 -04:00