Commit Graph

13483 Commits (b11be68249eec50a602c401ca31578598ea9dd1a)
 

Author SHA1 Message Date
Brian Coca b11be68249 updated module ref 10 years ago
Brian Coca bbdcba53da fixed bug on using su on play level not setting become method correctly 10 years ago
Brian Coca a47c132695 slight changes to allow for checksum and other commands to work correctly with quoting 10 years ago
Toshio Kuratomi 23f7538016 Merge pull request #10467 from sgargan/ec2_creds_error
Fix for issue #10422.
10 years ago
Steve Gargan ada2567dfb log errors and explicitly exit rather than raising exceptions 10 years ago
Toshio Kuratomi 37ab61c542 Update core pointer to make use of DOCKER_TLS_VERIFY env var:
https://github.com/ansible/ansible-modules-core/issues/946
10 years ago
Toshio Kuratomi 1bf0e60646 Update core module pointer 10 years ago
Brian Coca b783ea94bb fixed raw return check for privilege escalation 10 years ago
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
10 years ago
Brian Coca 3312a76987 Merge pull request #10461 from cblument/fact_ansible_uptime
Adding uptime_seconds fact for linux and darwin platforms
10 years ago
Toshio Kuratomi caf2a96ef9 Merge pdksh fix to v2 10 years ago
Toshio Kuratomi 27be0421c0 Merge pull request #10466 from eest/env-setup_pdksh
env-setup: Don't use ${.sh.file} if shell is pdksh
10 years ago
Steve Gargan fbff0449ce fix for issue #10422. outputs informative error message when AWS credentials are not available 10 years ago
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.
10 years ago
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.
10 years ago
James Cammarata 22304afd1d More fixing of become stuff in v2 10 years ago
Toshio Kuratomi 70f56c135c Port #10357 to v2 10 years ago
Toshio Kuratomi 8c3b5690e5 Merge pull request #10357 from htgoebel/devel
Fix detect of docker as virtualization_type.
10 years ago
Brian Coca c2a87a20ee Merge pull request #10459 from mrcrilly/patch-1
Correct version number.
10 years ago
Michael Crilly 8e346186b2 Correct version number.
1.8.4 is the latest stable now, I believe.
10 years ago
James Cammarata 070c7c319f Started implementing become in v2 10 years ago
James Laska f451974efe Use correct URL for travis status badge
This uses the `devel` branch when displaying the travis-ci status badge.
10 years ago
Brian Coca d65e1ee2cb Merge pull request #10455 from jlaska/tox_and_travis
Add tox and travis-ci support
10 years ago
James Laska 60acdee0dc Enable assert_raises_regexp on py26 10 years ago
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
10 years ago
Toshio Kuratomi c8de03d516 Merge pull request #10448 from jhermann/add-test-requirements
added test requirements for pip
10 years ago
Toshio Kuratomi f05cda6ffc Comma is also dependent on position within the hash 10 years ago
jhermann 90886594fa added test requirements for pip 10 years ago
Brian Coca c94c3d134e Merge pull request #10447 from bcoca/sync_test_fix
fixed and reintroduced syncronize test
10 years ago
Brian Coca 74bf59082d fixed and reintroduced syncronize test, fakerunner object needed become_method to be it's default 'sudo' 10 years ago
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.
10 years ago
Brian Coca b5d23543f0 fixed and reintroduced syncronize test, fakerunner object needed become_method to be it's default 'sudo' 10 years ago
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
10 years ago
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.
10 years ago
Brian Coca a675b10b3b Merge pull request #10329 from bcoca/var_merge_combined
changed from hash_merge to combine vars which resets default to
10 years ago
Brian Coca ac1493faae fixed missed conversion of su to become 10 years ago
Toshio Kuratomi ee831e1071 Fix v2 for #10426
Note: In v1 we fix this by transforming into unicode just before we use
it (when we send it to jinja2) because jinja2 cannot handle non-ascii
characters in str.

In v2 our model is that all text values need to be stored as unicode
type internally.  So we transform this to unicode when we read it from
the inventory file and save it into the internal dict instead.
10 years ago
Toshio Kuratomi 4710a07fb0 Test case for #10426 10 years ago
Toshio Kuratomi f5264414db Merge pull request #10426 from shirou/fix-hostvar-unicode-error
use to_unicode() in _jinja2_vars if type is str.
10 years ago
Shirou WAKAYAMA d92e8edf6e set 'nonstring' arg to passthru. 10 years ago
Toshio Kuratomi d633ad1022 Merge pull request #10438 from jhermann/patch-1
Generic package_dir mapping in setup.py (closes #10437)
10 years ago
Toshio Kuratomi e413dba3a6 Update the module pointers 10 years ago
Jürgen Hermann 597c0f48f5 Generic package_dir mapping in setup.py (closes #10437) 10 years ago
Brian Coca f229b770b2 fixed missed su to become conversion 10 years ago
Brian Coca eb69eb4108 Merge pull request #10435 from bcoca/ssh_password_become_fix
fixes password error detection for ssh connection plugin
10 years ago
Brian Coca f803c1e1f8 fix tag test that broke with new tag info displayed in list tasks 10 years ago
Brian Coca 587ab17f10 fixes password error detection for ssh connection plugin
removes sycnronize test that does not work with current sudo setup
Fixes #10434
10 years ago
James Cammarata 5f0ed76f1c Merge branch 'bcoca-become_fixes' into devel 10 years ago
Brian Coca 747c7aaffa removed uneeded reference to su_user 10 years ago
Brian Coca de5eae2007 fixed traceback when x_user implicitly sets the become method
Fixes #10430

Also removed redundant resolution of sudo/su for backwards compatibility which
confused the conflict detection code.
10 years ago