Dag Wieërs
eb63b9e899
Introduce comics and cartoons to test yaml groups defined on a per-node basis
13 years ago
Dag Wieërs
aa13d23307
A small fix to revert to old state
13 years ago
Dag Wieërs
264ebaa77c
Combine both yaml unit tests into one example file
13 years ago
Dag Wieërs
7db49a8048
Might as well fix this too
13 years ago
Dag Wieërs
f36c6c8c5b
Added unit tests for host-groups patch
...
For the unit test I chose to keep the original yaml file in place as a reference.
This patch also includes a fix.
13 years ago
Dag Wieërs
a96f681352
Allow groups to be defined on a per-host basis
...
This makes it possible to define on a per-host basis what groups a host is in.
When managing a large set of systems it makes it easier to ensure each of the
systems is defined in a set of groups (e.g. production/qa/development,
linux/solaris/aix) rather than having to add systems to multiple disconnected
groups.
----
- host: system01
- host: system02
- host: system03
- group: linux
hosts:
- system01
- system02
- group: solaris
hosts:
- system03
- group: production
hosts:
- system01
- system03
- group: qa
- system02
- group: dbserver
hosts:
- system01
- group: ntpserver
hosts:
- system02
- group: webserver
- system03
----
Can be redefined as:
----
- host: system01
groups: [ linux, production, dbserver ]
- host: system02
groups: [ linux, qa, ntpserver ]
- host: system03
groups: [ solaris, production, webserver ]
----
13 years ago
Michael DeHaan
35df9621e2
Merge pull request #571 from sfromm/group
...
Group module fixes
13 years ago
Michael DeHaan
debdd4695a
Merge pull request #573 from sfromm/user
...
Minor tweak to user module
13 years ago
Stephen Fromm
21d78a4084
Minor fix to user module to further streamline setting 'changed' flag
13 years ago
Stephen Fromm
a0d520de26
Fixes to group module for better error handling
...
Takes a lot of the fixes to the user module and applies them to the
group module: provide stdout/stderr in result if available and call
fail_json() if the attempted action fails.
13 years ago
Michael DeHaan
b3147dd3df
Merge pull request #568 from sfromm/user
...
User modules fixes
13 years ago
Michael DeHaan
b06a7cbd04
Merge pull request #566 from jeremysmitherman/service-no-pid
...
Added additional output to service status checker
13 years ago
Michael DeHaan
f97d1e147c
Merge pull request #567 from skvidal/devel
...
modify user module so that password is NEVER logged before the command runs
13 years ago
Stephen Fromm
7363f2737e
Fixes to user module for better error handling
...
The user module now returns the output, both stdout and stderr, from
useradd, usermod, and userdel. This should help debug cases why one of
those commands fail. In addition, the user module will now call
fail_json() when the attempted command failed so as to properly
communicate a failure in a playbook.
13 years ago
Seth Vidal
606277476b
modify user module so that password is NEVER logged before the command runs
13 years ago
Jeremy Smitherman
8018b217a2
Added additional output to service status checker
13 years ago
Michael DeHaan
d453000193
Merge pull request #559 from jkleint/iterative-md5
...
Use iterative MD5 hashing.
13 years ago
John Kleint
07ef38e447
Use iterative MD5 hashing.
13 years ago
Michael DeHaan
313fd17a73
Merge branch 'change_to_using_hashlib_or_md5' of https://github.com/davehatton/ansible into devel
...
Conflicts:
lib/ansible/utils.py
13 years ago
Dave Hatton
87e83be826
switch to hashlib.md5 or md5 instead of OS md5 commands
13 years ago
Michael DeHaan
c150e9f14f
Revert "switch to using hashlib.md5 or md5 (if python 2.4) instead of a os call"
...
This reverts commit 865796c368
.
(Superseeded by next commit)
13 years ago
Michael DeHaan
5211b58a98
Merge pull request #554 from davehatton/switch_to_using_hashlib_or_md5
...
Switch to using hashlib or md5
13 years ago
Dave Hatton
865796c368
switch to using hashlib.md5 or md5 (if python 2.4) instead of a os call
13 years ago
Dave Hatton
6e6d01799e
further md5 fixes
13 years ago
Michael DeHaan
f3e2c7099f
changelog update
13 years ago
Michael DeHaan
79e47f53dd
When sudo'ing to root, keep the setup file location as /etc/ansible/setup
13 years ago
Michael DeHaan
b8d9419d38
update changelog
13 years ago
Michael DeHaan
d8999800d1
Take a remote md5sum before a file transfer to decide whether to transfer the file or not.
...
Allows for efficient transfer of large files. Templates do not sample first because they are small.
13 years ago
Michael DeHaan
9cefd8f04f
changelog updates
13 years ago
Michael DeHaan
fefe31f0ce
changelog update
13 years ago
Michael DeHaan
ceae1857b6
Clean up md5 functions + make the fetch module stay happy if the remote file does not exist.
13 years ago
Michael DeHaan
dc95385b38
Comment uncommented methods in utils
13 years ago
Michael DeHaan
f4e21aa96c
Merge pull request #546 from pas256/devel
...
apt module to support --no-install-recommends
13 years ago
Peter Sankauskas
444c02ac82
Assigning to boolean first
13 years ago
Peter Sankauskas
9e850ceba3
Getting the apt module to accept and understand a 'install-recommends' parameter which allows running apt with --no-install-recommends
13 years ago
Michael DeHaan
f870785686
Merge pull request #542 from davehatton/copy_always_returns_changed_equals_true
...
copy module, return changed attribute seperate from md5sum
13 years ago
Dave Hatton
768e71e766
copy always returned change=true
13 years ago
Michael DeHaan
6493206bcb
Merge pull request #537 from davehatton/bump_rpm_spec_to_0_6
...
bump rpm spec to 0.6
13 years ago
Dave Hatton
38161ae90f
bump rpm spec to 0.6
13 years ago
Michael DeHaan
05c8a85cd5
update versions mentioned in README.md
13 years ago
Michael DeHaan
5c239effca
Release bump to start development on 0.6
13 years ago
Michael DeHaan
fb0abbe800
Merge pull request #518 from brainpage/devel
...
adds 'groups' variable, essentially making hosts file accessible as a var
13 years ago
Michael DeHaan
44ae8da16e
Merge pull request #534 from davehatton/switch_to_shutil_copy
...
switch to shutil.copy rather than os.system(cp)
13 years ago
Michael DeHaan
22f3967f2c
Bump dates in packaging files for release.
13 years ago
Dave Hatton
76cd590df4
switch to shutil.copy rather than os.system(cp)
13 years ago
Michael DeHaan
25504e1ae3
Merge pull request #532 from davehatton/allow_copy_if_file_doesnt_exist
...
md5 allow copy if file is missing
13 years ago
Dave Hatton
3350868093
md5 allow copy if file is missing
13 years ago
Michael DeHaan
c5d10330f0
Merge pull request #531 from jeremysmitherman/devel
...
Added IndexError catch for copy module, IndexError is thrown if a destin...
13 years ago
Jeremy Smitherman
3b3720287c
Added IndexError catch for copy module, IndexError is thrown if a destination file doesn't exist
13 years ago
Michael DeHaan
035b9535db
Merge pull request #529 from davehatton/error_trapping_md5
...
improve error trapping for md5
13 years ago