Commit Graph

3710 Commits

Author SHA1 Message Date
ebc8193c48 Update core module pointer 2015-03-18 19:55:55 -07:00
dbe0c4f771 Update docker module 2015-03-18 18:29:18 -07:00
a4f2407328 added missing become method inventory override 2015-03-17 19:20:21 -04:00
e819263820 Update core modules pointer 2015-03-17 11:02:53 -07:00
2a229bdb6c fixed issue with su in plays 2015-03-16 19:39:16 -04:00
7fba952a9e slight changes to allow for checksum and other commands to work correctly with quoting 2015-03-16 19:10:10 -04:00
dc434dd74e 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:45:27 -07:00
29407752c5 Update core modules pointer 2015-03-16 11:35:51 -07:00
2823c8c987 fixed raw return check for privilege escalation 2015-03-16 14:00:50 -04:00
28892cca14 Update core module pointer 2015-03-13 13:54:08 -07:00
41c892baf4 Fix detect of docker as virtualization_type.
Not only match`/docker/`, but also `docker-` followed by a hex-id.

Example (shortened):
```
$ cat /proc/1/cgroup
8:blkio:/system.slice/docker-de73f4d207861cf8757b69213ee67bb234b897a18bea7385964b6ed2d515da94.scope
7:net_cls:/
```
2015-03-13 11:43:25 -07:00
8d847efa37 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:24:38 -05:00
0e2a21f1fa Update core pointer to pick up docker fix 2015-03-12 08:21:39 -07:00
5f7cc8f0c1 changed from hash_merge to combine vars which resets default to
overwrite and not merge hashing
corrected merge vs combined in all pertinent sections
fixed typoe in combined_Vars
removed redundant inventory call, moved grousp to proper priority
readded inventory vars to runner's vars
correclty added inventory this time
2015-03-12 11:03:35 -04:00
4db4fcd5a6 fixed missed conversion of su to become 2015-03-12 10:02:03 -04:00
1c09660c44 set 'nonstring' arg to passthru. 2015-03-11 20:42:40 -07:00
a388cd69c0 use to_unicode() in _jinja2_vars if type is str. 2015-03-11 20:42:31 -07:00
8f05824dda Update for another 3c2 fix 2015-03-11 19:09:07 -07:00
7ea7279080 Update core modules to pull in fixes 2015-03-11 18:43:02 -07:00
c997228896 fixed missed su to become conversion 2015-03-11 19:24:03 -04:00
839d2a2a79 fixes password error detection for ssh connection plugin
removes sycnronize test that does not work with current sudo setup
Fixes #10434
2015-03-11 19:09:34 -04:00
a2ff6cd5d0 removed uneeded reference to su_user 2015-03-11 11:58:49 -05:00
44d9c02ba5 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.
2015-03-11 11:58:32 -05:00
f0bdf0145a fixed bad paren in connection plugin 2015-03-11 09:31:24 -04:00
bce4bb2ce2 preliminary privlege escalation unification + pbrun
- become constants inherit existing sudo/su ones
- become command line options, marked sudo/su as deprecated and moved sudo/su passwords to runas group
- changed method signatures as privlege escalation is collapsed to become
- added tests for su and become, diabled su for lack of support in local.py
- updated playbook,play and task objects to become
- added become to runner
- added whoami test for become/sudo/su
- added home override dir for plugins
- removed useless method from ask pass
- forced become pass to always be string also uses to_bytes
- fixed fakerunner for tests
- corrected reference in synchronize action plugin
- added pfexec (needs testing)
- removed unused sudo/su in runner init
- removed deprecated info
- updated pe tests to allow to run under sudo and not need root
- normalized become options into a funciton to avoid duplication and inconsistencies
- pushed suppored list to connection classs property
- updated all connection plugins to latest 'become' pe

- includes fixes from feedback (including typos)
- added draft docs
- stub of become_exe, leaving for future v2 fixes
2015-03-10 17:42:52 -05:00
f4329c8977 Submodule update for stable-1.9 branch 2015-03-10 17:27:58 -05:00
6d5a5883fe Setting up new release candidate versioning 2015-03-10 17:16:33 -05:00
17c710e713 Merge pull request #10420 from bmanojlovic/devel
add missing AIX network facts discovery
2015-03-10 15:59:34 -04:00
a59784a581 don't use full path to command instead use module.get_bin_path 2015-03-10 19:44:39 +01:00
4990814901 Prevent an empty error message 2015-03-10 11:30:28 -05:00
0f4cf8cb43 add missing AIX network facts discovery 2015-03-10 15:19:29 +01:00
d0197195ed Handle /etc/os-release files with 'Raspbian' in them 2015-03-10 08:41:21 +01:00
919db1025c Merge pull request #9601 from cchurch/set_delegate_before_connect
Set delegate on connection plugin before calling connect()
2015-03-08 21:12:39 -04:00
29cca0191b Adding oVirt recognition for oVirt guests. oVirt uses KVM. 2015-03-07 10:17:41 -05:00
3e311db128 Update core and extras module pointers 2015-03-06 21:02:40 -08:00
d706fd1eda Merge pull request #10388 from willthames/no_log_skipped
Don't log item data for skipped tasks under no_log
2015-03-05 16:34:38 -08:00
c3d34a5386 Merge pull request #8936 from srvg/inventoryscript_onlychildren
Allow InventoryScript JSON with childgroups only
2015-03-05 17:11:04 -05:00
761540e9fd Merge pull request #10392 from sgordon46/devel
facts.py throws exception when run on RHEV hypervisor #10383
2015-03-05 12:09:49 -05:00
aed493158c Merge pull request #9428 from landryb/openbsd_add_mount_facts
parse /etc/fstab on OpenBSD to get mount facts
2015-03-05 12:07:27 -05:00
b44bf0379b facts.py throws exception when run on RHEV hypervisor #10383 2015-03-05 10:28:26 -06:00
13a591eac0 Don't log item data for skipped tasks under no_log
Tasks with `no_log` set should not log data.
Remove log of item data for skipped tasks in loops

Fix for #10387
2015-03-05 14:51:05 +10:00
241b905e85 Update core module pointer to fix mysql bug 2015-03-04 18:59:12 -08:00
983b617fb7 Update the modules 2015-03-04 18:56:50 -08:00
fbc525cfb6 Use to_bytes instead of .encode(). Fixes the fact that errors is a positional argument, not a kw arg in .encode() 2015-03-04 11:07:00 -08:00
ffb281d96c Merge pull request #9600 from msabramo/make_AnsibleError_a_plain_ol_exception
Make AnsibleError a plain ol' exception
2015-03-03 09:56:09 -08:00
d43f542c1e Merge pull request #10373 from keithbentrup/patch-1
Incorrect keyword argument 'error'
2015-03-03 07:53:57 -05:00
a8c02b7049 Rework the shell quoting of remote checksumming
Instead of getting rid of pipes.quote, use pipes.quote and get rid of
the manually entered toplevel quotes.  This should properly escape
backslashes, quotes, and other characters.

Also fix the new checksumming python "one-liner" for csh.
ansible_shell_type needs to be set to csh.

Fixes #10363
Fixes #10353
2015-03-02 15:42:18 -08:00
c14a436df9 Update core and extras module pointers 2015-03-02 15:40:11 -08:00
788258917f Incorrect keyword argument 'error'
Incorrect keyword argument 'error'. It should be 'errors'.
2015-03-02 17:52:07 -05:00
0314180dbe Updating core modules submodule pointer 2015-03-02 09:46:26 -06:00