Commit graph

13688 commits

Author SHA1 Message Date
Brian Coca
ab45e5ee59 Merge pull request #10411 from bcoca/add_pbrun
preliminary privlege escalation unification  + pbrun
2015-03-10 18:42:15 -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
Brian Coca
39a3d6f5ed added version to ternary example 2015-03-10 12:42:55 -04:00
Brian Coca
cbfab13b89 Merge pull request #10421 from sivel/empty-error-msg
rax module ultis: Prevent an empty error message
2015-03-10 12:38:13 -04:00
Matt Martz
4990814901 Prevent an empty error message 2015-03-10 11:30:28 -05:00
Brian Coca
0ff77b3650 Merge pull request #10404 from maxalbert/doc_enhancement
Add note to section 'Loops' that the 'when:' statement is processed per-item
2015-03-10 10:51:47 -04:00
Brian Coca
a4c7aca419 Merge pull request #10395 from AndrewLorente/patch-2
Mention `view` in the ansible vault docs
2015-03-10 10:43:05 -04:00
Boris Manojlovic
0f4cf8cb43 add missing AIX network facts discovery 2015-03-10 15:19:29 +01:00
Brian Coca
5c9f867c6c Merge pull request #10418 from pyroscope/fix-raspbian-distribution_release
Handle /etc/os-release files with 'Raspbian' in them
2015-03-10 09:57:24 -04:00
pyroscope
d0197195ed Handle /etc/os-release files with 'Raspbian' in them 2015-03-10 08:41:21 +01:00
Brian Coca
2da8a986c4 Merge pull request #10414 from bcoca/showing_tags
added list-tags option and also show tags in list-tasks option
2015-03-09 12:44:15 -04: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
Brian Coca
d5164e9e88 Merge pull request #10415 from dagwieers/patch-4
Make the example somewhat more feature complete
2015-03-09 11:40:51 -04:00
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.
2015-03-09 16:16:58 +01:00
Brian Coca
5453e2cbb8 removed redundant inventory call, moved grousp to proper priority 2015-03-09 10:27:59 -04:00
Brian Coca
08617c087b Merge pull request #8866 from Fresheyeball/patch-1
Document Environment in tasks as well
2015-03-09 02:05:27 -04:00
Brian Coca
8267bb2ae1 added list-tags option and also show tags in list-tasks option 2015-03-09 00:07:14 -04: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
Brian Coca
876383f60c Merge pull request #10409 from mriedelumab/devel
Adding oVirt recognition for oVirt guests. oVirt uses KVM.
2015-03-07 20:36:16 -05:00
riedel
29cca0191b Adding oVirt recognition for oVirt guests. oVirt uses KVM. 2015-03-07 10:17:41 -05:00
Toshio Kuratomi
cc7385d8f7 Add the playbook filters to a toctree 2015-03-06 21:02:40 -08:00
Toshio Kuratomi
3e311db128 Update core and extras module pointers 2015-03-06 21:02:40 -08:00
Toshio Kuratomi
493907665b Add no_log w/ skipped tasks to the CHANGELOG 2015-03-06 21:02:40 -08:00
Toshio Kuratomi
04e37cce35 Add and subtract some things from the tarball 2015-03-06 21:02:40 -08:00
Monty Taylor
8758ba08bd Update common OpenStack requests-related parameters
Also, update docs related to earlier changes in this stack.
2015-03-06 18:20:45 -05:00
Monty Taylor
8027a8a0b5 Change to auth_type to match python-openstackclient 2015-03-06 18:11:12 -05:00
Maximilian Albert
af593c2f51 Add note to section 'Loops' that the 'when:' statement is processed per-item. 2015-03-06 21:35:49 +00:00
Brian Coca
fb717ffd6c Merge pull request #10345 from emonty/features/openstack-inventory-docs
Add documentation for the new OpenStack Inventory
2015-03-06 11:45:07 -05:00
Brian Coca
a68ca90a00 Merge pull request #10397 from bmoar/hacking_readme_updates
Documentation - fix path in Test-module hacking/ example
2015-03-05 22:39:05 -05:00
bmoar
1eaa9d4a08 fix path in Test-module example 2015-03-05 20:30:00 -05: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
Andrew Lorente
822c401a71 Mention view in the ansible vault docs 2015-03-05 14:01:09 -08: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
Brian Coca
4ff841c2a2 Merge pull request #10390 from vvanscherpenseel/patch-1
Update playbooks_vault.rst

for a second i thought we were encrypting the passwords for the encryption of the encryption of passwords of the encryption
2015-03-05 08:21:48 -05:00
Vincent van Scherpenseel
01886ede28 Update playbooks_vault.rst
Typo fix (passwords -> files).
2015-03-05 14:05:38 +01: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
James Cammarata
ca4c5a14bb Fixing bug related to dynamic includes + with* loops 2015-03-04 13:52:32 -06:00
James Cammarata
d0cfcdbc4d Getting dynamic includes working a bit better on v2 2015-03-04 13:52:31 -06:00
James Cammarata
f12695f287 Add run_once/BYPASS_HOST_LOOP feature in v2 2015-03-04 13:52:31 -06:00
James Cammarata
4af2d0a907 Reworking v2 play iterator and fixing some other bugs
Still not working quite right:
* dynamic includes are not adding the included tasks yet
* running roles with tags not quite working right
2015-03-04 13:52:31 -06: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
Brian Coca
618722ddee fixed function call to proper number of params 2015-03-04 09:43:13 -05:00