Dane Summers
6dd6a4c534
tested library - fixed several test cases, added 'force' option, and removed grep requirement
2012-08-22 23:06:03 -04:00
Dane Summers
24c8c22e75
removed logger, removed superfluous mkdir
2012-08-21 16:10:17 -04:00
Dane Summers
157fa3868a
added TODO for test scenarios to add
2012-08-21 13:59:39 -04:00
Dane Summers
19686d549c
support for subversion repositories
2012-08-15 09:04:17 -04:00
Michael DeHaan
7d50a5c2b7
Merge pull request #865 from jdavisp3/vars-file
...
Always load group_vars and host_vars.
2012-08-14 04:55:18 -07:00
Michael DeHaan
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
willthames
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
Dave Peticolas
b42e835aab
Always load group_vars and host_vars.
2012-08-13 21:08:05 -07:00
Michael DeHaan
7ab0d60b1a
update config code
2012-08-13 20:17:07 -04:00
Michael DeHaan
1cadfcbf61
amend default library location in config file
2012-08-13 20:08:03 -04:00
Michael DeHaan
2ac4859c6a
changelog
2012-08-13 19:17:59 -04:00
Michael DeHaan
62fbbf7653
config file support
2012-08-13 19:17:59 -04:00
Michael DeHaan
3b259ef5f6
Merge pull request #859 from zecrazytux/bugfix/apt_repository
...
Bugfix/apt repository
2012-08-13 15:30:21 -07:00
Michael DeHaan
e29ee9db2b
Merge pull request #860 from goozbach/broken_mount
...
fixed missing module argument for mount module
2012-08-13 15:29:43 -07:00
Michael DeHaan
5705fca9a8
Merge pull request #861 from elventear/work
...
Use Python 2.4 compatible syntax
2012-08-13 15:29:21 -07:00
Pepe Barbe
bce1d4da53
Use Python 2.4 compatible syntax
2012-08-13 16:02:16 -05:00
Derek Carter
556593bb18
fixed missing module argument for mount module
2012-08-13 15:20:36 -04:00
Sebastien Bocahu
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
Sebastien Bocahu
3e9bcd351d
Add support for Debian in apt_repository
2012-08-13 19:23:53 +02:00
Sebastien Bocahu
df269c72c1
Fixed scoping issue in apt_repository module.
2012-08-13 19:06:53 +02:00
Michael DeHaan
2adff56ef5
Merge pull request #854 from sfromm/fixes
...
A couple fixes for setup module
2012-08-12 05:16:05 -07:00
Stephen Fromm
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
Stephen Fromm
84028c2339
Tweak invocation of ip in LinuxNetwork
...
Specify full path to ip and add third argument 'show' to be explicit
about requested action. This goes from 'ip addr' to
'/sbin/ip addr show'.
2012-08-11 23:54:22 -07:00
Michael DeHaan
00c28e2810
formatting
2012-08-11 18:41:36 -04:00
Michael DeHaan
75bbd73173
Fix indentation
2012-08-11 18:39:09 -04:00
Michael DeHaan
67301c1015
rename variable 'pkg' in yum module such that the auto-handled error messages use the same key.
2012-08-11 18:16:10 -04:00
Michael DeHaan
81fa48c86e
update changelog
2012-08-11 18:14:31 -04:00
Michael DeHaan
1e4d45af1e
Add module common code to allow it to be easier to indicate whether arguments are mutually exclusive, required in conjunction, or whether one of a list of arguments is required. This simplifies writing Python modules.
2012-08-11 18:13:29 -04:00
Michael DeHaan
98c350a6ac
changelog update
2012-08-11 17:34:26 -04:00
Michael DeHaan
deec50fc3c
Default -u (user) and "user:" in playbooks to the current user.
2012-08-11 17:33:34 -04:00
Michael DeHaan
3587ffdef3
Allow /bin/ansible to use --limit
2012-08-11 14:05:24 -04:00
Michael DeHaan
9041adddaa
Add support for ranged patterns like webservers[0-49] for hitting the first 50 webservers.
2012-08-11 13:49:18 -04:00
Michael DeHaan
e9c9d8f523
tweak config mode check to just have a default
2012-08-11 12:38:05 -04:00
Michael DeHaan
477ca2ed1a
Make pep8 tests run against the library directory as well, and associated tweaks (mostly to indentation) in the library
...
directory.
2012-08-11 12:35:58 -04:00
Michael DeHaan
72faf8eb0a
fix indents
2012-08-11 12:20:16 -04:00
Michael DeHaan
c9a5ce3685
changelog update
2012-08-11 12:12:11 -04:00
Michael DeHaan
e0765be1ea
Merge pull request #850 from akhayyat/virt-facts
...
Add openvz detection to virtualization facts, and some cleanup
2012-08-11 09:11:01 -07:00
Michael DeHaan
32922e404b
Don't include local addresses in the all_ipv4/6 list
2012-08-11 12:08:55 -04:00
Michael DeHaan
08ce3692b2
Merge branch 'network-facts' of https://github.com/akhayyat/ansible into devel
2012-08-11 12:02:52 -04:00
Michael DeHaan
301edb5b52
use StringIO for output concatenation, minor other tweaks to previous commit
2012-08-11 11:59:14 -04:00
Michael DeHaan
3cc564c127
Merge branch 'devel' of https://github.com/SleeplessAnnoyedNerd/ansible into devel
2012-08-11 11:48:57 -04:00
Michael DeHaan
d1ad1d2508
remove stray print
2012-08-11 11:41:40 -04:00
Michael DeHaan
de21cb27d8
Remove tests that involve network effects -- makes things faster and they are not really deep tests here either way.
2012-08-11 11:38:45 -04:00
Michael DeHaan
259f2dc4de
Various retooling of the internal code behind inventory pattern matching in support of pending support
...
for host ranges.
2012-08-11 11:36:59 -04:00
Dietmar Schinnerl
ac44c36e4f
Removed unnecessary string replacements since parse_json already filters garbage lines
2012-08-11 16:57:04 +02:00
Dietmar Schinnerl
6b622beb4d
Added filtering of non-JSON lines.
2012-08-11 16:24:16 +02:00
Dietmar Schinnerl
fbdddc7c74
Added utils.last_non_blank_line
2012-08-11 16:14:19 +02:00
Dietmar Schinnerl
993bb5c6f1
Added stub implementation of filters
2012-08-11 15:55:14 +02:00
Dietmar Schinnerl
bfed87df80
Removed leading blanks
2012-08-11 15:49:00 +02:00
Dietmar Schinnerl
6a18075640
Issue #848 : Closing stdin after we read from stdout
2012-08-11 15:13:07 +02:00