Michael DeHaan
70c42eeb64
Merge pull request #3784 from drewblas/devel
...
Added git disclaimer about dealing with ssh host checking
2013-08-11 12:50:48 -07:00
Michael DeHaan
6af77226fa
Merge pull request #3818 from resmo/feature/docsite-update
...
update docsite about new variable inventory_file
2013-08-11 12:50:20 -07:00
Michael DeHaan
17aa0d12de
Merge pull request #3814 from ftao/inventory_dir_abs
...
fix inventory.basedir is not absolute path when hostfile is startswith "./"
2013-08-11 08:46:08 -07:00
Michael DeHaan
1336bbd2f2
Merge pull request #3815 from amenonsen/typos
...
Fix some typos discovered during casual reading
2013-08-11 08:45:00 -07:00
Michael DeHaan
5a063fd55a
Merge pull request #3816 from DanLovesProofs/fix-docs
...
Brings postgresql_db examples in line with documentation.
2013-08-11 08:43:23 -07:00
Abhijit Menon-Sen
1a90d01ba9
Fix some typos discovered during casual reading
2013-08-11 18:41:23 +05:30
René Moser
28267de3fe
update docsite about new variable inventory_file
2013-08-11 11:08:57 +02:00
Dan Robinson
bda2ce6ffd
Brings postgresql_db examples in line with documentation.
...
As of now, the documentation lists a parameter as "name",
whereas the examples use a parameter called "db". This brings
them in line.
2013-08-11 00:41:23 -07:00
ftao
51a180b150
fix inventory.basedir is not absolute path when hostfile is startswith "./"
2013-08-11 10:50:47 +08:00
Michael DeHaan
db8d9a6ea7
Update changelog
2013-08-10 19:03:00 -04:00
Michael DeHaan
f8c97d6e79
Style/docs cleanup, and also improve an error message.
2013-08-10 18:58:45 -04:00
Michael DeHaan
aeb8649da5
Merge branch 'ansible-rsync-take2' of git://github.com/tima/ansible into rsynctake2
2013-08-10 18:31:45 -04:00
Michael DeHaan
4d1f447908
Merge pull request #3650 from bcoca/forking_optimizations
...
forking least possible
2013-08-10 15:29:19 -07:00
Michael DeHaan
baffa8df72
These fields are booleans.
2013-08-10 18:16:01 -04:00
Michael DeHaan
633abca916
Merge branch 'nocolor' of git://github.com/amenonsen/ansible into devel
2013-08-10 18:11:27 -04:00
Michael DeHaan
5e049a5df7
Merge branch 'fix_service_with_initscript' of git://github.com/psvo/ansible into devel
2013-08-10 18:05:35 -04:00
Michael DeHaan
ee11d69697
Merge branch 'better_ini_errors2' of git://github.com/bcoca/ansible into devel
2013-08-10 18:01:17 -04:00
Michael DeHaan
0988a86653
Misc style fixes.
2013-08-10 17:59:05 -04:00
Michael DeHaan
146bbfecc5
Smite tabs in whitespace.
2013-08-10 17:58:03 -04:00
Michael DeHaan
587ea03097
Merge branch 'devel' of git://github.com/hura/ansible into devel
2013-08-10 17:57:41 -04:00
Michael Vogt
89bc43cab0
support i18n on sudo failure
2013-08-10 17:56:39 -04:00
Michael DeHaan
0905683c1f
Merge pull request #3806 from neomantra/issue_3438_x
...
digital_ocean #3438 : use get instead of [] to prevent KeyError
2013-08-10 14:40:18 -07:00
Michael DeHaan
4bdbe4dc4f
Remove some test prints
2013-08-10 17:37:04 -04:00
Serge van Ginderachter
9991a530ab
fix an encoding bug in copy content = lookup plugin
...
closes #3518
2013-08-10 17:37:04 -04:00
Michael DeHaan
220cc75cd9
Merge pull request #3805 from lwade/docs
...
Modified playbooks2.rst to include conditional boolean example.
2013-08-10 14:24:31 -07:00
Michael DeHaan
cd7971e0d4
Merge pull request #3809 from mscherer/fix_openstack_folsom
...
Fix traceback when openstack do not have OS-EXT-IPS:type attached to add...
2013-08-10 14:20:45 -07:00
Michael DeHaan
66b29b6813
Merge branch 'feature/gh-3789-inventory-file' of https://github.com/resmo/ansible into devel
2013-08-10 17:11:48 -04:00
Michael DeHaan
1d13ec2da3
Construct the multiprocessing manager only once.
2013-08-10 09:32:46 -04:00
René Moser
e8272e365d
implemented 'inventory_file' variable. Closes GH-3789.
2013-08-10 13:04:56 +02:00
Timothy Appnel
2288a11b6a
Implemented setup method in rsync action module.
2013-08-09 21:24:50 -04:00
Timothy Appnel
4a9635e04e
Straighten out local-remote-delegate logic in rsync action module. Force set delegate to local if one is not defined.
2013-08-09 21:24:49 -04:00
Timothy Appnel
adbca9d251
Fixed identity key logic.
2013-08-09 21:24:47 -04:00
Timothy Appnel
9f170f579a
Introduced ansible-rsync to core.
2013-08-09 21:24:46 -04:00
Matt Hite
c556e673c7
Fix to better handle concurrent runs of module against same pool
2013-08-09 15:50:44 -07:00
Michael Scherer
6da44ef002
Fix traceback when openstack do not have OS-EXT-IPS:type attached to address
...
failed: [127.0.0.1] => {"failed": true, "parsed": false}
invalid output was: Traceback (most recent call last):
File "/tmp/ansible-1376083321.99-111209413777779/nova_compute", line 1176, in <module>
main()
File "/tmp/ansible-1376083321.99-111209413777779/nova_compute", line 239, in main
_get_server_state(module, nova)
File "/tmp/ansible-1376083321.99-111209413777779/nova_compute", line 198, in _get_server_state
private = [ x['addr'] for x in getattr(server, 'addresses').itervalues().next() if x['OS-EXT-IPS:type'] == 'fixed']
KeyError: 'OS-EXT-IPS:type'
This extension was added less than 6 month ago, and so cannot be used on a release
older than Grizzly ( like Folsom ).
Commit of the extension : https://review.openstack.org/#/c/21453/
See https://wiki.openstack.org/wiki/ReleaseNotes/Grizzly#Key_New_Features_2
2013-08-09 23:26:12 +02:00
Evan Wies
0c9c4ae401
digital_ocean #3438 : use get instead of [] to prevent KeyError
...
The existing code was using:
a[b][c[d]]
where a[b] would always exist and c[d] would always exist.
But the nested index would not alway exist, particularly when a DigitalOcean item disapeared.
This changes that nested index to a `get` and properly handles None results.
This bug was present in two spots in this file.
2013-08-09 11:57:37 -04:00
James Cammarata
ceff3b6ba3
Minor modification to set_fact with_items patch
...
Previous patch was reverted due to the fact that there was an issue
with the results not always being a dictionary (they're sometimes
a unicode string, ie. when the with_items is used with yum). This
minor change corrects that by checking for a dict object.
2013-08-09 07:52:14 -05:00
lwade
a46e0f9788
Modified playbooks2.rst to include conditional boolean example.
2013-08-09 13:24:48 +01:00
Matt Hite
33007e75de
Fixed parameter names
2013-08-08 19:19:20 -07:00
James Cammarata
8be2fc745b
Revert "Check for ansible_facts in results for with_ tasks"
...
This reverts commit 1a4e6e415e
.
2013-08-08 20:32:30 -05:00
Michael Scherer
8026b091b1
Add openshift inventory plugin
...
This plugin will list all your git repositories from a openshift
provider, and allow you to manage them using ansible.
The inventory either use a environement variable or reuse the
existing rhc configuration file if it exist.
2013-08-08 23:37:14 +02:00
Matt Hite
4f34afbc1d
New module to manipulate BIG-IP pool members and their attributes
2013-08-08 14:01:20 -07:00
James Cammarata
1c361a9968
Merge pull request #3795 from wilsaj/patch-1
...
docfix: grammar in docstring for sysctl module
2013-08-08 10:43:08 -07:00
Serge van Ginderachter
1a4e6e415e
Check for ansible_facts in results for with_ tasks
...
that loop over a lookup plugin. Fixes #3704 and #3735
2013-08-08 12:30:32 -05:00
Andy Wilson
bc30203abe
docfix: grammar in docstring for sysctl module
2013-08-08 12:23:30 -05:00
Serge van Ginderachter
40e60c947d
Host specifiers should be sorted
...
to ensure consistent behavior, hosts should look like this:
hosts: webservers:&boston:!rack42
So when applying the host selectors, run those without the "&" first,
then the &s, then the !s.
Closes #3500
2013-08-08 18:32:24 +02:00
Abhijit Menon-Sen
0c96d8af6e
Add a nocolor setting to ansible.cfg
2013-08-08 21:37:33 +05:30
Lorin Hochstein
f9cc0f2ef3
Fix typo: alises -> aliases
2013-08-08 10:14:08 -04:00
Michael DeHaan
067cc9274d
Add note about python-selinux.
2013-08-08 09:15:24 -04:00
Petr Svoboda
e2f20db534
Fix traceback in service module when svc_cmd is None
...
When service module is used on unsupported Linux system where init
script is used directly, LinuxService.svc_cmd is None so .endswith()
fails.
Fixes issue #3533
2013-08-08 14:24:20 +02:00