Brian Coca
245e0dd4b7
made returns from next task consistent to avoid typeerrors, also linear now checks for none
...
fixes #11965
9 years ago
Brian Coca
9f5e4c0ef6
lookup plugin that does no flattening
9 years ago
Brian Coca
4ab369ee76
added solaris_zone module to changelog
9 years ago
James Cammarata
4fc905b1d5
Merge pull request #11958 from amenonsen/deprecation-tweak
...
Tweak deprecation warning, and apply it to --limit also
9 years ago
Abhijit Menon-Sen
8f231ec469
Tweak deprecation warning, and apply it to --limit also
9 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
9 years ago
James Cammarata
4dba30ccd0
Cleanup missed merge conflict sections
9 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".
9 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.
9 years ago
James Cammarata
32034feec5
Add deprecation warning regarding host patterns
9 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 !&)
9 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".
9 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.
9 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.
9 years ago
Brian Coca
76e9af8b45
Merge pull request #11956 from patrickeasters/fix-aws-doc-typo
...
Fix typo on AWS guide page
9 years ago
James Cammarata
6c036c3633
Template parent include file paths
...
Fixes #11955
9 years ago
Patrick Easters
6ed66caaed
Fix typo on AWS guide page
...
I assume this should read “Ansible modules” rather than “Ansible
ensiles”
9 years ago
Brian Coca
b905f51341
fixed typo
9 years ago
Brian Coca
53821ad4b7
added shelvefile lookup to changelog
9 years ago
Brian Coca
8eeac136f1
Merge pull request #11954 from bob-smith/patch-1
...
Update README.md for legacy v1
9 years ago
John Barker
86f8f130a5
Update README.md
...
Correct formatting of bullet points
9 years ago
Brian Coca
8af0ff4a58
Merge pull request #11567 from lekum/shelvefile_lookup
...
Add shelvefile lookup plugin
9 years ago
Brian Coca
fbc7224066
Merge pull request #11643 from bcoca/meta_inventory_and_fixes
...
Meta inventory and fixes
9 years ago
Brian Coca
43cc27084d
corrected on delete also
9 years ago
Brian Coca
089687140d
corrected role path
9 years ago
James Cammarata
eb381bd522
Add one more search path to path_dwim_relative
9 years ago
Brian Coca
033c77a13b
now creates/removes files/ dir
9 years ago
Brian Coca
c6733cc1a7
Merge pull request #9225 from qvicksilver/aix_unprivileged
...
AIX unprivileged facts collection
9 years ago
Brian Coca
5027f66562
Merge pull request #11864 from jhawkesworth/win_path_filters
...
add win_basename and win_dirname filters
9 years ago
James Cammarata
a498876bec
Make sure playbook includes use unique var dictionaries before modification
9 years ago
Brian Coca
5fec11f513
capture parsing exceptions and give nice error and location
9 years ago
Brian Coca
621b18c6ef
fixed source path discovery for unarchive in roles
...
fixes #11943
9 years ago
Brian Coca
70d024ffce
show errors when missing vars file or when there is syntax issue in the file
...
fixes #11945
9 years ago
Brian Coca
464a436f8f
fixed testplay host, included lookup path tests in all, added stage for easier debugging
9 years ago
Brian Coca
60803a1d3c
added lookup paths testing
9 years ago
Brian Coca
3d9875773b
Merge pull request #11947 from resmo/for-ansible
...
cloudstack: refactor get_result()
9 years ago
Brian Coca
2c34a5bdbd
pass list correctly to lookup
9 years ago
James Cammarata
dd67b1e4d6
Adjust relative include searches when roles are involved
...
Fixes #11895
9 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
9 years ago
James Cammarata
d9833f227f
Make sure cached data from file loads isn't impacted by modifications
...
Fixes #11893
9 years ago
Brian Coca
6bceee9a93
now lvs/vg facts are only attempted if binary found
9 years ago
James Cammarata
c7dde72aa0
Default listify to converting bare variables again
...
Since we explicitly set convert_bare=False in the template lookup
code, but still want individual looks that call listify directly to
convert bare variables if needed.
9 years ago
James Cammarata
ac66e4001c
Fix for variable precedence with tasks/includes
...
Fixes #11881
9 years ago
Brian Coca
2688edb32b
Merge pull request #11940 from alxgu/fix_lvm_facts
...
bugfix: missing path for lvm facts
9 years ago
Brian Coca
39f81a8fa5
removed unused imports
9 years ago
Brian Coca
c27978fa93
minor fixes to pull
9 years ago
Brian Coca
9f29e39dea
give more matching options for ansible-pull
9 years ago
Brian Coca
e46b1e8d2b
adjusted tree to work more like v1, also now skips when dir not supplied
9 years ago
Alexander Gubin
1ea1b9fb13
bugfix: missing path for lvm facts
9 years ago
Brian Coca
d122229147
added info about refresh_inventory to changelog
9 years ago