Commit Graph

16486 Commits (76feba00c4724e930c8c6fc7eba7e4a29c86cc3c)
 

Author SHA1 Message Date
Brian Coca 2eb5333b50 fixed test to match new become output 10 years ago
Brian Coca 49eb95e2d1 some fixes to become/sudo
* now it uses -n to get immediate error if no password is supplied and one is needed,
   this should fix the issue with sudo hanging waiting for input.
 * made -k configurable, this can break changing become_users in play if left out,
   but opens up the possiblity of OTP support.
10 years ago
James Cammarata 4836641683 Use ansible_python_interpreter value for remote checksums
Fixes #11968
Fixes #11969
10 years ago
Brian Coca 7a51836530 check for failure in fact gathering 10 years ago
Brian Coca 1edae51e05 added generic service module, step #1 to separating services to their own modules
falls back to current service module and requries service mgr facts and new service modules
10 years ago
Brian Coca 172e0c328c fixed adhoc fact gathering 10 years ago
Brian Coca 0381923333 fixed call to setup module 10 years ago
Brian Coca 92e2f54228 fixed issues with utf-8 encoding in docs, moved pager to use display class instad of bare prints 11 years ago
Brian Coca 3b75f3d26a Merge pull request #11967 from jody-frankowski/fix-env-setup-rm2
Fix rm call in hacking/env-setup. Since it is sourced from a user shell,
11 years ago
Jody Frankowski bc1e1d2cdc Fix rm call in hacking/env-setup. Since it is sourced from a user shell,
rm can have an alias to 'rm -i', which will make sourcing hang when '-q'
is enabled.
11 years ago
Brian Coca 245e0dd4b7 made returns from next task consistent to avoid typeerrors, also linear now checks for none
fixes #11965
11 years ago
Brian Coca 9f5e4c0ef6 lookup plugin that does no flattening 11 years ago
Brian Coca 4ab369ee76 added solaris_zone module to changelog 11 years ago
James Cammarata 4fc905b1d5 Merge pull request #11958 from amenonsen/deprecation-tweak
Tweak deprecation warning, and apply it to --limit also
11 years ago
Abhijit Menon-Sen 8f231ec469 Tweak deprecation warning, and apply it to --limit also 11 years ago
James Cammarata 4714cbeec8 Override post validation of environment to allow bare variables
Also prints a deprecated warning if a bare variable is detected, so
that we can remove this in a future version.

Fixes #11912
11 years ago
James Cammarata 4dba30ccd0 Cleanup missed merge conflict sections 11 years ago
Abhijit Menon-Sen d41db8edd6 Don't accept undocumented "p1;p2" patterns; note in changelog
The correct (and now only) way to say p1 OR p2 is "p1:p2".
11 years ago
Abhijit Menon-Sen 1437b8e120 Introduce _split_pattern to parse an "x:y:z" pattern
This function takes a string like 'foo:bar[1:2]:baz[x:y]-quux' and
returns a list of patterns ['foo', 'bar[1:2]', 'baz[x:y]-quux'], i.e.
splits the string on colons that are not part of a range specification.
11 years ago
James Cammarata 32034feec5 Add deprecation warning regarding host patterns 11 years ago
Abhijit Menon-Sen 6bf6b9fdbb Rename some internal functions, clarify what they do
get_hosts → used externally, not changed
_get_hosts → _evaluate_patterns (takes a list, evaluates ! and &)
__get_hosts → _match_one_pattern (takes one pattern only, ignores !&)
11 years ago
Abhijit Menon-Sen eff33bac49 Don't accept undocumented "p1;p2" patterns; note in changelog
The correct (and now only) way to say p1 OR p2 is "p1:p2".
11 years ago
Abhijit Menon-Sen 8aaa06dd50 Introduce _split_pattern to parse an "x:y:z" pattern
This function takes a string like 'foo:bar[1:2]:baz[x:y]-quux' and
returns a list of patterns ['foo', 'bar[1:2]', 'baz[x:y]-quux'], i.e.
splits the string on colons that are not part of a range specification.
11 years ago
Abhijit Menon-Sen baf637b9ae Remove dead code: Inventory.also_restrict_to/lift_also_restriction
This was used earlier to implement serial, but that's now done using
restrict_to_hosts() (whose docstring is also suitably adjusted here)
and there are no more callers.
11 years ago
Brian Coca 76e9af8b45 Merge pull request #11956 from patrickeasters/fix-aws-doc-typo
Fix typo on AWS guide page
11 years ago
James Cammarata 6c036c3633 Template parent include file paths
Fixes #11955
11 years ago
Patrick Easters 6ed66caaed Fix typo on AWS guide page
I assume this should read “Ansible modules” rather than “Ansible
ensiles”
11 years ago
Brian Coca b905f51341 fixed typo 11 years ago
Brian Coca 53821ad4b7 added shelvefile lookup to changelog 11 years ago
Brian Coca 8eeac136f1 Merge pull request #11954 from bob-smith/patch-1
Update README.md for legacy v1
11 years ago
John Barker 86f8f130a5 Update README.md
Correct formatting of bullet points
11 years ago
Brian Coca 8af0ff4a58 Merge pull request #11567 from lekum/shelvefile_lookup
Add shelvefile lookup plugin
11 years ago
Brian Coca fbc7224066 Merge pull request #11643 from bcoca/meta_inventory_and_fixes
Meta inventory and fixes
11 years ago
Brian Coca 43cc27084d corrected on delete also 11 years ago
Brian Coca 089687140d corrected role path 11 years ago
James Cammarata eb381bd522 Add one more search path to path_dwim_relative 11 years ago
Brian Coca 033c77a13b now creates/removes files/ dir 11 years ago
Brian Coca c6733cc1a7 Merge pull request #9225 from qvicksilver/aix_unprivileged
AIX unprivileged facts collection
11 years ago
Brian Coca 5027f66562 Merge pull request #11864 from jhawkesworth/win_path_filters
add win_basename and win_dirname filters
11 years ago
James Cammarata a498876bec Make sure playbook includes use unique var dictionaries before modification 11 years ago
Brian Coca 5fec11f513 capture parsing exceptions and give nice error and location 11 years ago
Brian Coca 621b18c6ef fixed source path discovery for unarchive in roles
fixes #11943
11 years ago
Brian Coca 70d024ffce show errors when missing vars file or when there is syntax issue in the file
fixes #11945
11 years ago
Brian Coca f1b30fd4f6 draft bsd intro and bootstrapping 11 years ago
Brian Coca 464a436f8f fixed testplay host, included lookup path tests in all, added stage for easier debugging 11 years ago
Brian Coca 60803a1d3c added lookup paths testing 11 years ago
Brian Coca 3d9875773b Merge pull request #11947 from resmo/for-ansible
cloudstack: refactor get_result()
11 years ago
Brian Coca 2c34a5bdbd pass list correctly to lookup 11 years ago
James Cammarata dd67b1e4d6 Adjust relative include searches when roles are involved
Fixes #11895
11 years ago
Rene Moser 4f3c863b42 cloudstack: refactor get_result()
* A commen dict of keys has been defined, which we look in results returned from the API.
* self.returns dict can be use in subclass to extend this dict.
* Optionally the key name can be replaced with a new key name, often used to make the return keys identical to the arguments passed.
* Use new style class
11 years ago