Daniel Hokka Zakrisson
db1a65342a
Set -c local cwd to . if basedir is empty
12 years ago
Daniel Hokka Zakrisson
715d875dcb
Group should only return its own variables
...
Otherwise, a host in two groups, A and B, using a variable defined
in group A and all will get the value of all, as B's variables will
include the all variable.
Partially fixes #1647 .
12 years ago
Daniel Hokka Zakrisson
e44b85daba
Remove special-casing for all group
...
global_vars has higher precedence than inventory. Putting the all
group's variables into it overrides all other groups and hosts.
Partially fixes #1647 .
12 years ago
Daniel Hokka Zakrisson
bd7e02d629
Get all groups' variables in order of depth
...
Fixes all not being processed, as well as the order of the variable
precedence
12 years ago
Daniel Hokka Zakrisson
d5dd89a8f7
Allow specifying when: ...
12 years ago
Daniel Hokka Zakrisson
fd732f8d3b
Add when_boolean
...
Fixes #1567 .
12 years ago
Daniel Hokka Zakrisson
ddef608c94
Wrap all remote commands in sh
12 years ago
Jan-Piet Mens
3b83295581
DOCUMENTATION: yum (moved version to added)
12 years ago
Jan-Piet Mens
068ef0e979
module_formatter: re-instate code
12 years ago
Dag Wieers
e528826dba
Implemented more virtualization types
...
I added all known virtualization types from the virt-what project. However, the few virt types that rely on cpuid information have not been implemented lacking native python cpuid access. (hyperv)
12 years ago
Michael DeHaan
8e515c0c94
Merge pull request #1655 from jpmens/docs_jumbopatch
...
DOCUMENTATION strings
12 years ago
Daniel Hokka Zakrisson
047d089cea
Restore git output on --version
...
Broken by the move from utils.py to utils/__init__.py
12 years ago
Daniel Hokka Zakrisson
ef357ed1f2
Use the play's vars for the setup step
...
Allows using -e ansible_ssh_port=foo and have it apply to all actions.
12 years ago
Jan-Piet Mens
caf003c813
DOCUMENTATION strings
12 years ago
Daniel Hokka Zakrisson
d1c285b70b
Port may be an integer when parsed from the play
12 years ago
Michael DeHaan
30fd37a68f
Merge pull request #1654 from dagwieers/service-None-fix
...
Make the default an empty string
12 years ago
Dag Wieers
118ccc68c9
Make the default an empty string
...
Seems a bit strange I have to set a default in two locations.
12 years ago
Michael DeHaan
82f4aef959
Merge pull request #1648 from dhozac/local-cwd-basedir
...
Use runner's basedir as cwd for -c local
12 years ago
Michael DeHaan
41af2fce64
Merge pull request #1650 from dagwieers/port-not-integer-exception
...
Provide a proper error when the remote_port is not an integer
12 years ago
Daniel Hokka Zakrisson
3ce63d845e
remote_port is None by default
12 years ago
Daniel Hokka Zakrisson
6b69b37eb0
Merge pull request #1649 from dagwieers/template-port
...
Allow the remote port to be templated per play
12 years ago
Dag Wieers
85bba04a1c
Provide a proper error when the provided port is not an integer
...
As reported on the mailinglist, the user received a ValueError when the port number was not templated (fixed in #1649 ) and therefore it was not an integer. This change will catch the exception and provide a proper error so it is more clear.
12 years ago
Dag Wieers
8458f53014
Allow the remote port to be templated
...
This was requested on the mailinglist and seems useful.
12 years ago
Daniel Hokka Zakrisson
48898993b9
Fix removing of temporary files
12 years ago
Daniel Hokka Zakrisson
0ebf4b2d5a
Add destination path to fetch result
12 years ago
Daniel Hokka Zakrisson
bdf05ec9a0
Use runner's basedir as cwd for -c local
12 years ago
Daniel Hokka Zakrisson
f89f07871d
Fix typo in first_available_file error path
12 years ago
Michael DeHaan
956e926618
change docs, this is the easier way to use template.
12 years ago
Michael DeHaan
3602fe7f61
Update changelog notes about with_template
12 years ago
Michael DeHaan
b78f90ae62
Organize changelog
12 years ago
Michael DeHaan
b46505d59d
Update changelog and contrib.rst
12 years ago
Michael DeHaan
663a8fef3f
chmod -x for all module files in source checkout
12 years ago
Michael DeHaan
0c4b30a471
Aliased node test doesn't make sense locally, so remove it.
12 years ago
Michael DeHaan
9985995a9d
Make tests use the local connection type, fix missing callback in tests.
12 years ago
Michael DeHaan
75620220b6
Merge pull request #1645 from dhozac/use-plugin-system-for-modules
...
Use plugin system for modules
12 years ago
Daniel Hokka Zakrisson
f95fefd8c5
Use plugin system to find modules
12 years ago
Daniel Hokka Zakrisson
5dd2ec2cae
Add a way to add directories to just one type of loader
12 years ago
Daniel Hokka Zakrisson
d2abfb9ff8
Ensure runner adds its basedir, so ansible can benefit from plugins
12 years ago
Daniel Hokka Zakrisson
5183417de8
Reinstate ANSIBLE_KEEP_REMOTE_FILES
...
Fixes #1395 .
12 years ago
Daniel Hokka Zakrisson
b95bcf1b9d
Use single-quotes to contain SSH keys as they may contain double-quotes
...
Fixes #1624 .
12 years ago
Daniel Hokka Zakrisson
11175781b8
Use slurp for fetch is sudo is enabled and needed
...
Fixes #1020 .
12 years ago
Michael DeHaan
99a0ebcad0
Merge pull request #1642 from dagwieers/service-options
...
Allow adding additional arguments to service module
12 years ago
Dag Wieers
3852b9918a
Allow adding additional arguments to service module
...
Some services allow additional arguments to be provided on the command line. This patch makes it possible.
12 years ago
Michael DeHaan
ca09be557d
Merge pull request #1640 from ashak/a0389a48fa72f3a5fc3f79058437f4c9f36e762f
...
Make deb doesn't work on a small debian wheezy install without this addition to build-depends
12 years ago
Michael DeHaan
14f7bba64e
Merge pull request #1643 from dhozac/fileglob-drop-dwim
...
Drop dwim prefix from returned items in fileglob
12 years ago
Daniel Hokka Zakrisson
11afd84d32
Drop dwim prefix from returned items in fileglob
...
Fixes #1618 .
12 years ago
Gary Richards
3d7d3cf351
Fix make deb
...
asciidoc is now needed to build the package.
12 years ago
Michael DeHaan
bb2e5e12b8
Merge pull request #1638 from jpmens/ec2_userdata
...
Support for user_data in ec2 module
12 years ago
Michael DeHaan
1b78dabcd4
Merge pull request #1632 from dhozac/use-ssh-conn-section-for-scp
...
Use the ssh_connection section for scp_if_ssh
12 years ago
Michael DeHaan
20c65bf854
Merge pull request #1629 from dagwieers/list-hosts-plays
...
Make --list-hosts consider all plays (in multiple playbooks)
12 years ago