Commit graph

467 commits

Author SHA1 Message Date
Seth Vidal
a99b491b32 touch up to yum module.
fix a couple of bugs
comment about state='latest'
2012-03-10 02:19:57 -05:00
Michael DeHaan
209760f8f6 Add manpage for ansible-playbook, since it is a command. More detailed docs will remain on the web site. 2012-03-09 22:06:44 -05:00
Michael DeHaan
1699013fbd Rename 'ensure' to 'state' so it lines up with the service module 2012-03-09 18:50:34 -05:00
Michael DeHaan
ae0e4ff0cf Merge pull request #88 from skvidal/feature
runner buglet and yum module
2012-03-09 15:44:54 -08:00
Seth Vidal
b576e389b1 runner buglet and yum module
runner: fix buglet causing logger output to include a u for the command
yum: add yum module:
   ensure=installed pkg=name/name.arch/name-ver-rel.arch
   ensure=removed pkg=name/name.arch/name-ver-rel.arch
   list=installed
   list=updates
   list=available
   list=pkgspec
   list=repos
2012-03-09 18:33:58 -05:00
Michael DeHaan
c89a0f96bd Merge pull request #87 from skvidal/feature
if we've failed a connection to a host - we cannot set items to the
2012-03-09 04:19:03 -08:00
Seth Vidal
19b784e480 if we've failed a connection to a host - we cannot set items to the
'conn' object since it is not an object on failure - it's a string.
2012-03-09 00:19:55 -05:00
Michael DeHaan
56de2e112a Update README.md 2012-03-08 13:59:12 -05:00
Michael DeHaan
742258a078 Drop other man(5) pages so we can have only one source of docs -- ansible.github.com for those operations.
Easier to maintain and much more verbose.
2012-03-08 13:56:27 -05:00
Michael DeHaan
96d39a0dff Merge pull request #3 from tbielawa/authver
Adding version and author to ansible init.
2012-03-08 10:38:06 -08:00
Tim Bielawa
95502c3089 Adding version and author to ansible init. 2012-03-07 12:02:05 -05:00
Michael DeHaan
8e20ed3714 src= parameters for template and copy operations can be relative to the playbook (for /usr/bin/ansible-playbook) or current directory (for /usr/bin/ansible) 2012-03-06 21:13:50 -05:00
Michael DeHaan
7eedc3fb1a Breakout includes into seperate functions, allow vars to apply to handlers but handlers
still may not be parameterized because it does not make sense to import them more than
once since they are keyed by name.
2012-03-06 21:01:05 -05:00
Michael DeHaan
3ee22ad351 Merge branch 'master' of github.com:mpdehaan/ansible 2012-03-06 19:25:28 -05:00
Michael DeHaan
85e0de5bb2 Move print statements out of playbook.py and back into CLI so we can simplify playbook operations
independent of output, and can also see all the output nicely grouped together if we want
to reformat it or make summaries of statistics.
2012-03-06 19:24:36 -05:00
Michael DeHaan
498a4c8056 Update README.md 2012-03-06 08:56:51 -05:00
Michael DeHaan
7cb6ce6613 Update README.md 2012-03-06 08:54:06 -05:00
Michael DeHaan
de3cff8cef Removing vim swap files and MANIFEST from rpmbuild on 'make clean' 2012-03-05 22:47:30 -05:00
Michael DeHaan
e835cd6f92 Have 'make clean' clean up test output directory 2012-03-05 22:44:39 -05:00
Michael DeHaan
001937976f Add RPM target. Not quite operational. 2012-03-05 22:35:59 -05:00
Michael DeHaan
0935506d6f Templating as non-root should not require passing in the metadata= parameter. 2012-03-05 22:23:56 -05:00
Michael DeHaan
4ee4ddcd7c Parameterized include statements can see top level variables and also be passed specific variables!
Code needs cleanup, but works
2012-03-05 22:00:22 -05:00
Michael DeHaan
fb3bfa1c51 Tweak the matrix 2012-03-05 21:38:12 -05:00
Michael DeHaan
9c5341116b Update to comparison matrix 2012-03-05 21:35:00 -05:00
Michael DeHaan
ee6db0531b Attempt at adding more comparison info 2012-03-05 21:16:55 -05:00
Michael DeHaan
937de08794 HTML test 2012-03-05 21:09:13 -05:00
Michael DeHaan
06d3cc930d This was supposed to be markdown with embedded HTML 2012-03-05 21:08:25 -05:00
Michael DeHaan
077e4f2381 Added start of comparison table so it's easy to explain at a glance what this project is. 2012-03-05 21:07:36 -05:00
Michael DeHaan
8d57ceecf1 Factoids and push variables via setup are now available to be templated in command args
as well as template files.  PLUS, variables are now expressed in playbooks without having
to know about the setup task, which means playbooks are simpler to read now.
2012-03-05 20:09:03 -05:00
Michael DeHaan
e0b1ad790c Merge pull request #80 from tbielawa/ReallyClean
Fix the py[co] part of the clean target in the make file
2012-03-05 13:24:58 -08:00
Tim Bielawa
2b22f546a2 Fix the py[co] part of the clean target in the make file 2012-03-05 16:21:39 -05:00
Michael DeHaan
8b6953112d Merge pull request #79 from tbielawa/modpath
Read some defaults from the environment
2012-03-05 13:14:15 -08:00
Tim Bielawa
c5f8bc9d79 Don't set ANSIBLE_HOSTS inside the env-setup script 2012-03-05 16:12:05 -05:00
Tim Bielawa
f2c2786a14 Update constants.py to pull module path and the hosts file from the
environment (ANSIBLE_{LIBRARY,HOSTS}) if defined.

Update manpages to represent this.

Also update the env-setup script to set ANSIBLE_{LIBRARY,HOSTS}.
2012-03-05 16:08:36 -05:00
Michael DeHaan
3c20f4000f Merge pull request #74 from tbielawa/ungrouped
Fix parse_hosts to not blow up on ungrouped hosts.
2012-03-05 11:16:55 -08:00
Michael DeHaan
95555ecc14 Merge pull request #76 from tbielawa/hacking
Add environment updating script 'env-setup' to facilitate running ansibl...
2012-03-05 11:15:27 -08:00
Michael DeHaan
cdd6b01d8b Merge pull request #75 from tbielawa/freshenMakeClean
Freshen up Makefile clean target
2012-03-05 11:13:53 -08:00
Tim Bielawa
2d052fcefb Freshen up Makefile clean target 2012-03-05 14:12:11 -05:00
Tim Bielawa
b190ea4b62 Fix parse_hosts to not blow up on ungrouped hosts. 2012-03-05 14:09:01 -05:00
Tim Bielawa
6343aa6214 Add environment updating script 'env-setup' to facilitate running ansible from a git checkout. 2012-03-05 13:47:01 -05:00
Michael DeHaan
a57f7ae010 Merge pull request #73 from skvidal/feature
rpm pkging/spec file
2012-03-05 09:39:36 -08:00
Seth Vidal
78566946c0 correct license 2012-03-05 12:24:01 -05:00
Seth Vidal
11bf2a5e03 add python-paramiko dependency 2012-03-05 12:16:08 -05:00
Seth Vidal
47aa018a84 add MANIFEST.in, ansible.spec, modify setup.py for rpm pkg creation 2012-03-05 12:15:24 -05:00
Michael DeHaan
37541ea800 Merge pull request #70 from tbielawa/playbookmanpage
Correct see-also in playbook manpage
2012-03-05 04:55:09 -08:00
Michael DeHaan
cb5929dad7 Setup module tests 2012-04-04 11:55:24 -04:00
Michael DeHaan
c71afe35d6 Async tests complete. Fixed bug in async_wrapper 2012-04-04 11:30:14 -04:00
Michael DeHaan
fae3a71899 WIP on async tests 2012-04-04 11:24:22 -04:00
Michael DeHaan
f8eab8ed7e Here are those tests I talked about previously :) 2012-04-04 11:11:31 -04:00
Michael DeHaan
369b9cde1c Add test for template module and make 'dark' errors clearer if we get output back and the JSON
is not parseable
2012-04-04 10:57:54 -04:00