Commit Graph

13441 Commits (ac1493faae40c5d7fd91bf7cde0ac058d9f5c66f)
 

Author SHA1 Message Date
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
Brian Coca 1fd0a78b0e fix issue with ask pass signature 10 years ago
Brian Coca 57aa40420f Merge pull request #10427 from jeffwidman/patch-1
Typo: lead --> led
10 years ago
Brian Coca a5f533e25d fixed bad paren in connection plugin 10 years ago
Jeff Widman f6d8e457ab Typo: lead --> led 10 years ago
Shirou WAKAYAMA 2d73892acf use to_unicode() in _jinja2_vars if type is str. 10 years ago
Brian Coca ab45e5ee59 Merge pull request #10411 from bcoca/add_pbrun
preliminary privlege escalation unification  + pbrun
10 years ago
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
10 years ago
Brian Coca 17c710e713 Merge pull request #10420 from bmanojlovic/devel
add missing AIX network facts discovery
10 years ago
Boris Manojlovic a59784a581 don't use full path to command instead use module.get_bin_path 10 years ago
Brian Coca 39a3d6f5ed added version to ternary example 10 years ago
Brian Coca cbfab13b89 Merge pull request #10421 from sivel/empty-error-msg
rax module ultis: Prevent an empty error message
10 years ago
Matt Martz 4990814901 Prevent an empty error message 10 years ago
Brian Coca 0ff77b3650 Merge pull request #10404 from maxalbert/doc_enhancement
Add note to section 'Loops' that the 'when:' statement is processed per-item
10 years ago
Brian Coca a4c7aca419 Merge pull request #10395 from AndrewLorente/patch-2
Mention `view` in the ansible vault docs
10 years ago
Boris Manojlovic 0f4cf8cb43 add missing AIX network facts discovery 10 years ago
Brian Coca 5c9f867c6c Merge pull request #10418 from pyroscope/fix-raspbian-distribution_release
Handle /etc/os-release files with 'Raspbian' in them
10 years ago
pyroscope d0197195ed Handle /etc/os-release files with 'Raspbian' in them 10 years ago
Brian Coca 2da8a986c4 Merge pull request #10414 from bcoca/showing_tags
added list-tags option and also show tags in list-tasks option
10 years ago
Brian Coca d5164e9e88 Merge pull request #10415 from dagwieers/patch-4
Make the example somewhat more feature complete
10 years ago
Dag Wieers 2e67372919 Make the example somewhat more feature complete
New users might think that "state=started" implies that the service is also started at boot-time, which isn't.
By adding it, this change makes a clear distinction between the service state, and whether it is enabled (at boot).
And makes the example more feature-complete as this is what most people would be doing anyway.
10 years ago
Brian Coca 08617c087b Merge pull request #8866 from Fresheyeball/patch-1
Document Environment in tasks as well
10 years ago
Brian Coca 8267bb2ae1 added list-tags option and also show tags in list-tasks option 10 years ago
Chris Church 919db1025c Merge pull request #9601 from cchurch/set_delegate_before_connect
Set delegate on connection plugin before calling connect()
10 years ago
Brian Coca 876383f60c Merge pull request #10409 from mriedelumab/devel
Adding oVirt recognition for oVirt guests. oVirt uses KVM.
10 years ago
riedel 29cca0191b Adding oVirt recognition for oVirt guests. oVirt uses KVM. 10 years ago
Toshio Kuratomi cc7385d8f7 Add the playbook filters to a toctree 10 years ago
Toshio Kuratomi 3e311db128 Update core and extras module pointers 10 years ago
Toshio Kuratomi 493907665b Add no_log w/ skipped tasks to the CHANGELOG 10 years ago
Toshio Kuratomi 04e37cce35 Add and subtract some things from the tarball 10 years ago
Maximilian Albert af593c2f51 Add note to section 'Loops' that the 'when:' statement is processed per-item. 10 years ago
Brian Coca fb717ffd6c Merge pull request #10345 from emonty/features/openstack-inventory-docs
Add documentation for the new OpenStack Inventory
10 years ago
Brian Coca a68ca90a00 Merge pull request #10397 from bmoar/hacking_readme_updates
Documentation - fix path in Test-module hacking/ example
10 years ago
bmoar 1eaa9d4a08 fix path in Test-module example 10 years ago
Toshio Kuratomi d706fd1eda Merge pull request #10388 from willthames/no_log_skipped
Don't log item data for skipped tasks under no_log
10 years ago
Brian Coca c3d34a5386 Merge pull request #8936 from srvg/inventoryscript_onlychildren
Allow InventoryScript JSON with childgroups only
10 years ago