Michael DeHaan
bc571ccb55
Merge pull request #902 from sfromm/issue719
...
Add pattern option to service module
12 years ago
Michael DeHaan
2b51cf04c7
Merge pull request #901 from dhozac/setup-ip
...
Work with tun and p2p interfaces
12 years ago
Michael DeHaan
705057b9a6
Merge pull request #900 from lorin/pip-venv-bug
...
Retrieve pip path after creating virtualenv
12 years ago
Michael DeHaan
229ab1582a
Merge pull request #898 from elventear/postgresql_user_py24
...
Fixes for postgresql_user to make it work with postgresql defaults and under Python 2.4
12 years ago
Michael DeHaan
36944053b1
Merge pull request #897 from elventear/utils_py24
...
Syntax changes necessary to make test-module work with Python 2.4
12 years ago
Michael DeHaan
4e69818427
Merge pull request #895 from lorin/pip-fail
...
Return both stdout and stderr on pip failures.
12 years ago
Stephen Fromm
18f0302de8
Add pattern option to service module
...
Adds ability to check service status based on pattern. The pattern
is a simple string. If a pattern is provided, the output of ps is
checked first.
12 years ago
Daniel Hokka Zakrisson
121341833a
Work with tun and p2p interfaces
12 years ago
Lorin Hochstein
8223d3ee3f
Retrieve pip path after creating virtualenv
...
Retrieve the pip path after creating a non-existent virtualenv.
Prevents the problem of using the wrong pip if virtualenv doesn't
exist yet.
12 years ago
Pepe Barbe
3dd2c0700f
Syntax change to make module compatible with Python 2.4
12 years ago
Pepe Barbe
e4a2de4f82
Syntax changes necessary to make test-module work with Python 2.4
12 years ago
Lorin Hochstein
8af3403f65
Return both stdout and stderr on pip failures.
...
pip failure message sometimes (always?) go to standard out. Return
both standard out and standard error when there's a failure.
12 years ago
Michael DeHaan
fe923b9394
Adaptation of fix in #891 to avoid cut on only one md5 call.
12 years ago
Michael DeHaan
5bb5082ed9
Fix failed to parse message handling
12 years ago
Michael DeHaan
0579b8b4e6
The command module was not reporting on errors like the other modules when the module failed
...
to parse or return other valid output. This is a slight improvement.
12 years ago
Michael DeHaan
c93df29249
Make a more logical error when the command/shell module is used with no arguments.
12 years ago
Michael DeHaan
d35e930f2e
Merge branch 'devel' of github.com:ansible/ansible into devel
12 years ago
Michael DeHaan
eee2d1afd0
If ANSIBLE_KEEP_REMOTE_FILES=1 is set as an environment file, remote files will not be deleted, which is useful only for development debugging purposes.
12 years ago
Michael DeHaan
1aa1beb0d4
Merge pull request #880 from tbielawa/VerboseDocs
...
Fully document the -v option.
12 years ago
Michael DeHaan
1738440b13
Merge branch 'devel' of https://github.com/skvidal/ansible into devel
12 years ago
Michael DeHaan
7e357fce45
Merge pull request #884 from cybertoast/feature/882-interfaces
...
Feature/882 interfaces
12 years ago
Sundar Raman
3aff9396e8
(Re #882 ) Handle errors in get_interfaces
...
If there is an error in how interfaces are configured (or only one set, like IPv6),
the setup command should not error out.
12 years ago
Seth Vidal
8e039a6389
add --list-hosts option to ansible-playbook to dump out the hosts
...
being run against for each playbook
12 years ago
Tim Bielawa
698bcaa581
Fully document the -v option.
12 years ago
Dane Summers
19686d549c
support for subversion repositories
12 years ago
Michael DeHaan
ffabded2e6
Merge pull request #878 from jeremypenner/devel
...
Make easy_install module actually work.
12 years ago
Jeremy Penner
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.
12 years ago
Michael DeHaan
de221e6b4b
Add vars to host_vars to prevent some suprises
12 years ago
Michael DeHaan
9851066f4d
Adding ability to set ssh args from config file
12 years ago
Michael DeHaan
6de8c27085
Load parent groups when processing group_vars
12 years ago
Michael DeHaan
ded0c61750
meaningless whitespace changes
12 years ago
Michael DeHaan
de4b8dc53a
Can use fail JSON here, remove debug statement
12 years ago
Michael DeHaan
58c975d621
Fix aliases, package not found is not an error
12 years ago
Michael DeHaan
07fd96acc9
Merge branch 'devel' of https://github.com/skvidal/ansible into devel
12 years ago
Michael DeHaan
731adc0eaf
Merge pull request #866 from akhayyat/devel
...
setup: add type and default_ipv{4,6} to linux network facts
12 years ago
Michael DeHaan
f29f2b026b
Merge pull request #872 from tbielawa/DocsAndExamples
...
Add some docs/examples
12 years ago
Michael DeHaan
a2a8cfe099
Merge pull request #876 from elventear/postgresql_fix
...
Changes to postgresql to support defaults settings and older psycopg2
12 years ago
Pepe Barbe
7dcd1bd223
Autocommit support for psycopg2 < 2.4.2
12 years ago
Pepe Barbe
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.
12 years ago
Seth Vidal
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)
12 years ago
Seth Vidal
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
12 years ago
Seth Vidal
2e3926d13f
subprocess is already imported in module_common - no need for it here
12 years ago
Tim Bielawa
6d9e873724
Add some docs/examples
...
Add a basic ansible-pull man page.
Add the example playbooks/scripts to the RPM package.
Closes #841
12 years ago
Michael DeHaan
ea4d5055c6
Merge pull request #870 from dhozac/setup-archtecture
...
Fix spelling of architecture for non-x86
12 years ago
Daniel Hokka Zakrisson
ae964b97c4
Fix spelling of architecture for non-x86
12 years ago
Michael DeHaan
7d50a5c2b7
Merge pull request #865 from jdavisp3/vars-file
...
Always load group_vars and host_vars.
12 years ago
Michael DeHaan
1f6f7c942c
Merge pull request #867 from willthames/config_file_location
...
Further fixes for constants following config introduction
12 years ago
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.
12 years ago
Ahmad Khayyat
c96c51a534
setup: add type and default_ipv{4,6} to linux network facts
12 years ago
Dave Peticolas
b42e835aab
Always load group_vars and host_vars.
12 years ago