Rene Moser
1ba05dd3a2
cloudstack: add doc fragment
2015-03-26 14:18:23 +01:00
Rene Moser
bb6d983290
cloudstack: add utils for common functionality
2015-03-26 14:18:13 +01:00
Toshio Kuratomi
aaa25eb75c
Make run_command() work when we get byte str with non-ascii characters (instead of unicode type like we were expecting)
...
Fix and test.
Fixes #10536
2015-03-25 12:24:49 -07:00
Toshio Kuratomi
c024057e97
Fix assert to work with unicode values
2015-03-25 12:24:49 -07:00
Brian Coca
19ba26e9a5
makes raw module have quiet ssh so as to avoid extra output when not requried
2015-03-24 14:48:50 -04:00
Brian Coca
72586d0df5
updated to latest core/devel
2015-03-20 17:27:00 -04:00
Toshio Kuratomi
8d8c4c0615
Update modules for asg tag fix
2015-03-20 11:39:58 -07:00
Eri Bastos
d4eddabb2a
Patch for bug #10485 - ansible_distribution fact populates as 'RedHat' on Oracle Linux systems
2015-03-20 14:40:44 -03:00
Brian Coca
d4ebe77502
now use combine vars to preserve existing cached host vars
2015-03-20 11:34:18 -04:00
Brian Coca
a53cf9d6fa
now correctly aplies add_host passed variables last to override existing vars.
2015-03-20 11:22:07 -04:00
Brian Coca
0c57bed728
now add_host loads hostvars
2015-03-20 10:14:53 -04:00
Toshio Kuratomi
6264eb4e02
Pull in ec2_asg fixes from core modules
2015-03-19 22:45:47 -07:00
Toshio Kuratomi
ac1c49302d
Update core modules pointer
2015-03-19 12:50:46 -07:00
Brian Coca
456f83962d
ignore PE methods that are not sudo for checksums until we get them working universally
2015-03-19 14:31:00 -04:00
Toshio Kuratomi
73f5a1fcdd
Update the extras module pointer
2015-03-18 20:25:53 -07:00
Toshio Kuratomi
b8efd3f777
Update core module pointer
2015-03-18 19:55:13 -07:00
Toshio Kuratomi
9dd5f8c758
Update core module pointer
2015-03-18 18:30:10 -07:00
Brian Coca
fd2d7fe447
Merge pull request #10290 from bcoca/remove_bare_warning
...
removed bare variable detection as this confuses people
2015-03-18 20:43:56 -04:00
Brian Coca
ba4e9a4c82
added missing become method inventory override
2015-03-17 19:19:48 -04: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
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
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
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
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
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
Brian Coca
ac1493faae
fixed missed conversion of su to become
2015-03-12 10:01:31 -04:00
Toshio Kuratomi
f5264414db
Merge pull request #10426 from shirou/fix-hostvar-unicode-error
...
use to_unicode() in _jinja2_vars if type is str.
2015-03-11 20:39:50 -07:00
Shirou WAKAYAMA
d92e8edf6e
set 'nonstring' arg to passthru.
2015-03-12 12:36:50 +09:00
Toshio Kuratomi
e413dba3a6
Update the module pointers
2015-03-11 19:10:38 -07:00
Brian Coca
f229b770b2
fixed missed su to become conversion
2015-03-11 19:23:02 -04:00
Brian Coca
587ab17f10
fixes password error detection for ssh connection plugin
...
removes sycnronize test that does not work with current sudo setup
Fixes #10434
2015-03-11 16:11:27 -04:00
Brian Coca
747c7aaffa
removed uneeded reference to su_user
2015-03-11 12:33:05 -04:00
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
Shirou WAKAYAMA
2d73892acf
use to_unicode() in _jinja2_vars if type is str.
2015-03-11 14:50:27 +09: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
Brian Coca
d244390064
correclty added inventory this time
2015-03-09 12:15:41 -04:00
Brian Coca
642d9d6b56
readded inventory vars to runner's vars
2015-03-09 12:12:37 -04:00