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.
2015-03-11 12:18:53 -04:00
Brian Coca
a5f533e25d
fixed bad paren in connection plugin
2015-03-11 09:30:07 -04:00
Brian Coca
5f6db0e164
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 18:42:36 -04:00
Brian Coca
17c710e713
Merge pull request #10420 from bmanojlovic/devel
...
add missing AIX network facts discovery
2015-03-10 15:59:34 -04:00
Boris Manojlovic
a59784a581
don't use full path to command instead use module.get_bin_path
2015-03-10 19:44:39 +01:00
Matt Martz
4990814901
Prevent an empty error message
2015-03-10 11:30:28 -05:00
Boris Manojlovic
0f4cf8cb43
add missing AIX network facts discovery
2015-03-10 15:19:29 +01:00
pyroscope
d0197195ed
Handle /etc/os-release files with 'Raspbian' in them
2015-03-10 08:41:21 +01:00
Chris Church
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
riedel
29cca0191b
Adding oVirt recognition for oVirt guests. oVirt uses KVM.
2015-03-07 10:17:41 -05:00
Toshio Kuratomi
3e311db128
Update core and extras module pointers
2015-03-06 21:02:40 -08:00
Toshio Kuratomi
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
Brian Coca
c3d34a5386
Merge pull request #8936 from srvg/inventoryscript_onlychildren
...
Allow InventoryScript JSON with childgroups only
2015-03-05 17:11:04 -05:00
Brian Coca
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
Brian Coca
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
Stephen Gordon
b44bf0379b
facts.py throws exception when run on RHEV hypervisor #10383
2015-03-05 10:28:26 -06:00
Will Thames
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
Toshio Kuratomi
241b905e85
Update core module pointer to fix mysql bug
2015-03-04 18:59:12 -08:00
Toshio Kuratomi
983b617fb7
Update the modules
2015-03-04 18:56:50 -08:00
Toshio Kuratomi
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
Toshio Kuratomi
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
Brian Coca
d43f542c1e
Merge pull request #10373 from keithbentrup/patch-1
...
Incorrect keyword argument 'error'
2015-03-03 07:53:57 -05:00
Toshio Kuratomi
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
Toshio Kuratomi
c14a436df9
Update core and extras module pointers
2015-03-02 15:40:11 -08:00
Keith
788258917f
Incorrect keyword argument 'error'
...
Incorrect keyword argument 'error'. It should be 'errors'.
2015-03-02 17:52:07 -05:00
James Cammarata
0314180dbe
Updating core modules submodule pointer
2015-03-02 09:46:26 -06:00
Toshio Kuratomi
a5ac9aafad
Update modules for docs fix
2015-02-27 08:50:09 -08:00
Brian Coca
49fce3587b
Merge pull request #10311 from jpmens/lookup-module-dig1
...
New lookup-plugin: `dig' for performing DNS lookups
2015-02-27 09:33:26 -05:00
Jan-Piet Mens
a3618f619e
New lookup-plugin: `dig' for performing DNS lookups
...
add support for argument qtype=XXX
remove spurious print
add dict returns
typo
Add dict returns for all major DNS types
Finish adding more types. For now. Until somebody complains.
I forgot to add NAPTR; here it is.
2015-02-27 09:16:50 +01:00
Toshio Kuratomi
38a5110250
Update core modules for docs fix
2015-02-26 22:53:27 -08:00
Toshio Kuratomi
084fbbdea9
Reverse the conditional so there's one less return from this function
2015-02-26 22:50:11 -08:00
Brian Coca
346689f9f2
Merge pull request #9293 from cchurch/module_suffixes
...
Simpler fix for module suffixes than c02e8d8c8
.
2015-02-26 23:33:51 -05:00
Brian Coca
5a64b2e269
Merge pull request #10305 from bcoca/cartesian
...
Cartesian
2015-02-26 23:25:33 -05:00
Brian Coca
942ff8d0b9
Merge pull request #10035 from phenomenes/fix_9911
...
Adds seconds to backup timestamp
2015-02-26 22:44:23 -05:00
Brian Coca
5d729edd2f
Merge pull request #9458 from sthen/openbsd_arch
...
set CPU architecture correctly for OpenBSD (powerpc not macppc, etc.)
2015-02-26 22:41:21 -05:00
Toshio Kuratomi
0f4b72cdfa
Refactor loop to only calculate the full_path once
2015-02-26 16:01:42 -08:00
Toshio Kuratomi
68c99a12b3
Merge pull request #10346 from lekum/find_plugin_bugfix
...
Bug fix: Search only for files as candidates
2015-02-26 15:38:45 -08:00
Toshio Kuratomi
89159951dc
Fix name of a task containing a template causing traceback
...
Workaround for #10321 Need to fix better in v2
2015-02-26 14:05:33 -08:00
Toshio Kuratomi
825dd25d43
Update module pointers
2015-02-26 13:52:10 -08:00
Toshio Kuratomi
8a5067d628
Adapt sanitize_output to log messages instead of assuming properly formatted key-value pairs
...
Fixes #10332
2015-02-26 12:31:11 -08:00
Alejandro Guirao
b8cf131375
Bug fix: Search only for files as candidates
2015-02-26 19:13:07 +01:00
Brian Coca
2d74bd4891
pulled in add_hosts docfix
2015-02-26 10:21:15 -05:00
Brian Coca
dfc4fc5374
updated submodule refs
2015-02-26 10:04:11 -05:00
Toshio Kuratomi
ac40ffa157
If remote_checksum fails because the dest is a directory, try a file within the dest.
...
Fixes #10300
2015-02-25 11:26:43 -08:00
Toshio Kuratomi
d5af0ba346
Comment explaining return codes from checksum()
2015-02-25 11:26:43 -08:00
Brian Coca
c81d981164
Merge pull request #10183 from bcoca/tag_control
...
adds complex tag management
2015-02-25 10:36:11 -05:00
Brian Coca
a1e2ae083d
Merge pull request #10320 from bcoca/ssh_fix_notokens
...
skips certain ssh errors and attempts to continue
2015-02-25 10:34:04 -05:00
Brian Coca
9ad8475be9
Merge pull request #9605 from msabramo/more_ssh_error_info
...
Display more info when SSH errors occur
2015-02-25 09:27:49 -05:00
Matt Stephenson
a2ea785d69
Add function to ipaddr for getting the nth host within a network
2015-02-23 13:42:03 -08:00
Matt Stephenson
ce17f5e1ec
Fix indentation
2015-02-23 12:51:19 -08:00