Commit Graph

8305 Commits (0aedd0c0b24e58a9ee10d6487476fe9aaeef3eb9)
 

Author SHA1 Message Date
jctanner 57d54c1da5 Merge pull request #5236 from willthames/ec2_inv_rds_fail_safe
ec2 inventory: Fail EC2 inventory better with restricted EC2 users
11 years ago
jctanner fd4ae165e4 Merge pull request #5153 from willthames/ec2_inventory_multiuser
Allow multiple users to use ec2 inventory scripts
11 years ago
James Tanner 5c64d703b9 Fixes #5227 Corrected doc example of with_first_found 11 years ago
James Tanner ab51bd23a2 Fixes #5196 return a unique list of hostnames for a single host pattern 11 years ago
James Cammarata ccbc99fe4f Fixed splitting of role/user name when username has a '.' in it
This may still be an issue if users create roles with a '.' in the name though.
We will probably have to disallow that in the role naming convention.
11 years ago
James Tanner d8d1152940 Update latest released version of ansible to 1.4.4 on docsite 11 years ago
smoothify 93a55e8dff Don't override sudo if transport is set to local.
https://github.com/ansible/ansible/pull/5251
11 years ago
Michael DeHaan c039e276a2 Fact gathering on a second play against the same hosts should not be implicitly off since this is an undocumented beheavior and potentially
rather unwanted when a play could change a fact.

gather_facts: True/False can still be explicitly used per play.

Reverts 564a212b3c
11 years ago
Michael DeHaan 87258f6d42 Resolve merge commit 11 years ago
Michael DeHaan 1c632af2c9 Merge pull request #5468 from jeromew/ansible_ssh_alt
fix issue #5372 on ssh_alt: accept -K option for a user with NOPASSWD
11 years ago
Michael DeHaan e0cd4a45c6 Merge pull request #5489 from daghoidahl/devel
Use "brew list <name>" instead of grepping the output of "brew list". Fix for #5488
11 years ago
Michael DeHaan a3d90e8a87 Merge pull request #5498 from j2sol/exit_setup_early
Return early from setup step when possible
11 years ago
Michael DeHaan 227e8e31c9 Merge branch 'use_comps' of git://github.com/j2sol/ansible into devel 11 years ago
Michael DeHaan 10350d1639 Update various copyrights. Not complete, but sufficient. 11 years ago
Jesse Keating 23720ff19d Use list comprehensions for efficiency
For loops can be inefficient, particularly when doing a dot command with
them. https://wiki.python.org/moin/PythonSpeed/PerformanceTips#Loops and
https://wiki.python.org/moin/PythonSpeed/PerformanceTips#Avoiding_dots...

This patch makes use of list comprehensions to be as efficient as
possible while still retaining order. Efficiency was lost a bit when
switching away from sets() but this gains some of it back.
11 years ago
Michael DeHaan c4eb3b47ed Merge pull request #5497 from paulbeattie/devel
Fixed typo in example documentation
11 years ago
Jesse Keating 35328ed503 Return early from setup step when possible
The _list_available_hosts call can be lengthy, and in the case where
gather_facts is disabled the call is pointless. So re-arrange the logic
to return early from _do_setup_step when gather_facts is false.
11 years ago
Michael DeHaan c41a23a35a Complete removal/refactoring of conditional deprecations. 11 years ago
Paul Beattie e96377685e Fixed typo in example documentation 11 years ago
Michael DeHaan 8e5b7d3095 Remove code underlying when_* and only_if, which are deprecated features slated for removal in the 1.5 release. 11 years ago
James Tanner 191be7b951 Resolves issues with newer versions of pip not having a --use-mirrors paramater for the install command 11 years ago
Michael DeHaan 28b9fd4e30 We have had only_if, when_foo, etc, deprecated for a while and said they would be removed in 1.5. Now they are, with friendly error messages still.
Users of these features should use "when:" as documented at docs.ansible.com.

Similarly, include + with_items has been removed.  The solution is to loop
inside the task files, see with_nested / with_together, etc.
11 years ago
Michael DeHaan 5d50bcf6dc Correct typo in variable in docs. 11 years ago
James Tanner 21fdb2bbc7 Fixes #5200 Handle template contents with unicode strings better 11 years ago
Michael DeHaan 1270e2350c Remove man3 stuff since this is available via ansible-doc, rpm target should
build manpages.
11 years ago
Michael DeHaan 0882eefdff Merge conflict 11 years ago
James Tanner fc473b3246 Fixes #5146 Handle missing stdin when running under celery with rabbitmq or redis 11 years ago
rgbj f2150b101e On OpenBSD, make user module status 'changed' only if necessary when using 'login_class' parameter 11 years ago
Dag Høidahl 279098bd03 Use "brew list <name>" instead of grepping the output of "brew list".
Some brew packages are not listed with their package name, e.g. libjpeg.
11 years ago
jctanner 89abc35e59 Merge pull request #5167 from jaspernbrouwer/devel
service_module: Fixed false positive on initctl as enable_cmd
11 years ago
Michael DeHaan 288a6a10dc Merge pull request #5481 from jarv/jarv/docfix
bad closing quote in footer
11 years ago
John Jarvis 318116f291 bad closing quote in footer 11 years ago
Michael DeHaan de2ffc1276 Don't need to document these guys. 11 years ago
Michael DeHaan c4a8a6d3c2 Add an "all" category so all modules show up uncategorized there. 11 years ago
Michael DeHaan 1251538e96 Fix syntax of docsite anchors. 11 years ago
Michael DeHaan 2f811c40d7 Basic docsite formatting fixups 11 years ago
James Tanner 86719ce77f Fixes #5040 setup module: do not add primary interface info to the secondary interface data 11 years ago
Jim Kleckner dacef1915a Add quotes to password argument for dump/import
The password is passed on a command line for dump and import and needs
quoting.

Ideally, this would not be passed on a command line at all - any ideas?
Or at least have a stronger form of quoting so that embedded single
quotes will be escaped.
11 years ago
James Tanner cb2214d6f8 Fixes #4935 Synchronize module: set destination to an fqdn if connection is not local, and abide by ansible_remote_user 11 years ago
jctanner 99560e3902 Merge pull request #5047 from sergevanginderachter/synch_template_ansiblesshhost
synchronize: allow ansible_ssh_host to be templated
11 years ago
Rutger Spiertz 763c0305c1 apt_repository: don't crash if default_file doesn't exist 11 years ago
jeromew b2cd4a62de fix issue #5372 on ssh_alt: accept -K option even for a user with NOPASSWD 11 years ago
Deon Bredenhann c85aac8b17 Treat a False mandatory variable as defined. 11 years ago
Deon Bredenhann 4f1f13b100 Remove trailing space 11 years ago
Michael DeHaan 99616d0c80 Pass scrub_data by default, see response from DO here: https://www.digitalocean.com/blog 11 years ago
Michael DeHaan c45f166235 Merge pull request #5453 from jensenbox/patch-1
Fix a small typo
11 years ago
Christian Jensen 80bb49c8b7 Fix a small typo 11 years ago
Michael DeHaan 12ecff71ba Add a few notes about variables to the FAQ. 11 years ago
Michael DeHaan 81fdd5d02a Add a note about hosts being ok in multiple groups. 11 years ago
Michael DeHaan fdb8505a5e Add ansible-pull's -o to the manpage. 11 years ago