Commit Graph

21489 Commits

Author SHA1 Message Date
19686d549c support for subversion repositories 2012-08-15 09:04:17 -04:00
ffabded2e6 Merge pull request #878 from jeremypenner/devel
Make easy_install module actually work.
2012-08-15 04:56:50 -07:00
09d5812cbb Make easy_install module actually work.
mpdehaan requested in ansible/ansible#795 that globals be removed.
The response was to remove the lines with the word 'global', but not
the actual use of global variables.  Which makes the module break silently.
Updated to use local variables.
2012-08-14 23:31:13 -04:00
1676ff4e2d Fix RPM path 2012-08-14 22:21:57 -04:00
44e3eef15e Document -u change 2012-08-14 22:20:47 -04:00
1ac07ee677 "Who uses" additions 2012-08-14 22:18:17 -04:00
0926c91b28 Document host ranges (new in 0.6) 2012-08-14 22:14:47 -04:00
0219d88fdd Document more playbook features in 0.7, docs build 2012-08-14 22:11:56 -04:00
7bd6fde2a3 Document --limit and range selection 2012-08-14 22:07:00 -04:00
cb0fb4c42f Merge pull request #184 from tbielawa/bashifiedexamples
'bashify' the examples page.
2012-08-14 18:26:07 -07:00
728df81bab Merge pull request #185 from tbielawa/SplitModuleRst
Break the modules docs into separate files.
2012-08-14 18:25:31 -07:00
de221e6b4b Add vars to host_vars to prevent some suprises 2012-08-14 20:35:01 -04:00
9851066f4d Adding ability to set ssh args from config file 2012-08-14 20:13:02 -04:00
6de8c27085 Load parent groups when processing group_vars 2012-08-14 19:48:33 -04:00
ded0c61750 meaningless whitespace changes 2012-08-14 19:33:11 -04:00
de4b8dc53a Can use fail JSON here, remove debug statement 2012-08-14 19:29:09 -04:00
58c975d621 Fix aliases, package not found is not an error 2012-08-14 19:27:02 -04:00
07fd96acc9 Merge branch 'devel' of https://github.com/skvidal/ansible into devel 2012-08-14 19:20:09 -04:00
731adc0eaf Merge pull request #866 from akhayyat/devel
setup: add type and default_ipv{4,6} to linux network facts
2012-08-14 16:19:14 -07:00
f29f2b026b Merge pull request #872 from tbielawa/DocsAndExamples
Add some docs/examples
2012-08-14 16:18:36 -07:00
a2a8cfe099 Merge pull request #876 from elventear/postgresql_fix
Changes to postgresql to support defaults settings and older psycopg2
2012-08-14 16:17:37 -07:00
7dcd1bd223 Autocommit support for psycopg2 < 2.4.2 2012-08-14 17:12:09 -05:00
95fc5dd4a8 Fix using postgres default values
When initalizing a connection to psycopg2, in order to use the default
values, the keywords must be missing. So we use a dictionary as a kwarg
and include only the keywords that do not have an empty value on the
module parameters.
2012-08-14 17:11:53 -05:00
3175eacfc4 fixes to yum module
include local_nvra
change the remove behavior to pretty much NEVEr error out if the pkg is not there (or anywhere)
2012-08-14 16:23:40 -04:00
14479e6adc cover all of the edge cases with and without yum-utils installed.
it is possible those folks w/o yum-utils installed but with rhn-plugin
installed but w/o any rhn-certificates will still see an error msg.
they have 3 options:
1. remove rhn-plugin
2. enable some channels w/rhn certs
3. install yum-utils
2012-08-14 13:23:49 -04:00
2e3926d13f subprocess is already imported in module_common - no need for it here 2012-08-14 13:23:49 -04:00
6d9e873724 Add some docs/examples
Add a basic ansible-pull man page.

Add the example playbooks/scripts to the RPM package.

Closes #841
2012-08-14 13:05:44 -04:00
ea4d5055c6 Merge pull request #870 from dhozac/setup-archtecture
Fix spelling of architecture for non-x86
2012-08-14 09:21:14 -07:00
ae964b97c4 Fix spelling of architecture for non-x86 2012-08-14 15:57:54 +02:00
7d50a5c2b7 Merge pull request #865 from jdavisp3/vars-file
Always load group_vars and host_vars.
2012-08-14 04:55:18 -07:00
1f6f7c942c Merge pull request #867 from willthames/config_file_location
Further fixes for constants following config introduction
2012-08-14 04:52:56 -07:00
c01040ca72 Further fixes for constants following config introduction
Added an ANSIBLE_CONFIG variable to poteentially override
~/.ansible.cfg
Used os.path.expanduser against all paths that might be read in to allow
~ to be used in config files. I'd have preferred it if os.path.expanduser
took None as an argument but it doesn't.

If remote_port *is* set in the ansible config file, then it will be
interpreted as a string (at which point ssh.connect fails with an
obscure message). Most other numeric variables are handled by
the OptionsParser which takes a type variable when setting up the option -
but remote_port is not an option, so never cast to int.

It might be worth adding a type field to get_config that defaults to a string.
That could be e.g. file or int, which then casts it correctly.
2012-08-14 20:22:47 +10:00
c96c51a534 setup: add type and default_ipv{4,6} to linux network facts 2012-08-14 01:37:14 -04:00
b42e835aab Always load group_vars and host_vars. 2012-08-13 21:08:05 -07:00
7ab0d60b1a update config code 2012-08-13 20:17:07 -04:00
1cadfcbf61 amend default library location in config file 2012-08-13 20:08:03 -04:00
2ac4859c6a changelog 2012-08-13 19:17:59 -04:00
62fbbf7653 config file support 2012-08-13 19:17:59 -04:00
3b259ef5f6 Merge pull request #859 from zecrazytux/bugfix/apt_repository
Bugfix/apt repository
2012-08-13 15:30:21 -07:00
e29ee9db2b Merge pull request #860 from goozbach/broken_mount
fixed missing module argument for mount module
2012-08-13 15:29:43 -07:00
5705fca9a8 Merge pull request #861 from elventear/work
Use Python 2.4 compatible syntax
2012-08-13 15:29:21 -07:00
bce1d4da53 Use Python 2.4 compatible syntax 2012-08-13 16:02:16 -05:00
f28ea0cda1 Break the modules docs into separate files. 2012-08-13 15:39:00 -04:00
556593bb18 fixed missing module argument for mount module 2012-08-13 15:20:36 -04:00
a07e928358 'bashify' the examples page. 2012-08-13 14:51:36 -04:00
d95eddceb1 Quote the repository string when appending it to the command line in the apt_repository module. 2012-08-13 19:36:08 +02:00
3e9bcd351d Add support for Debian in apt_repository 2012-08-13 19:23:53 +02:00
df269c72c1 Fixed scoping issue in apt_repository module. 2012-08-13 19:06:53 +02:00
2adff56ef5 Merge pull request #854 from sfromm/fixes
A couple fixes for setup module
2012-08-12 05:16:05 -07:00
c4ce5f9497 Try to find ip command in either /sbin or /usr/sbin
If ip is not found in either /sbin or /usr/sbin, this will return
an empty result.  It seems extremely unlikely that a linux system will
not have iproute2 installed
2012-08-11 23:54:22 -07:00