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.
13 years ago
Michael DeHaan
3ee22ad351
Merge branch 'master' of github.com:mpdehaan/ansible
13 years ago
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.
13 years ago
Michael DeHaan
498a4c8056
Update README.md
13 years ago
Michael DeHaan
7cb6ce6613
Update README.md
13 years ago
Michael DeHaan
de3cff8cef
Removing vim swap files and MANIFEST from rpmbuild on 'make clean'
13 years ago
Michael DeHaan
e835cd6f92
Have 'make clean' clean up test output directory
13 years ago
Michael DeHaan
001937976f
Add RPM target. Not quite operational.
13 years ago
Michael DeHaan
0935506d6f
Templating as non-root should not require passing in the metadata= parameter.
13 years ago
Michael DeHaan
4ee4ddcd7c
Parameterized include statements can see top level variables and also be passed specific variables!
...
Code needs cleanup, but works
13 years ago
Michael DeHaan
fb3bfa1c51
Tweak the matrix
13 years ago
Michael DeHaan
9c5341116b
Update to comparison matrix
13 years ago
Michael DeHaan
ee6db0531b
Attempt at adding more comparison info
13 years ago
Michael DeHaan
937de08794
HTML test
13 years ago
Michael DeHaan
06d3cc930d
This was supposed to be markdown with embedded HTML
13 years ago
Michael DeHaan
077e4f2381
Added start of comparison table so it's easy to explain at a glance what this project is.
13 years ago
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.
13 years ago
Michael DeHaan
e0b1ad790c
Merge pull request #80 from tbielawa/ReallyClean
...
Fix the py[co] part of the clean target in the make file
13 years ago
Tim Bielawa
2b22f546a2
Fix the py[co] part of the clean target in the make file
13 years ago
Michael DeHaan
8b6953112d
Merge pull request #79 from tbielawa/modpath
...
Read some defaults from the environment
13 years ago
Tim Bielawa
c5f8bc9d79
Don't set ANSIBLE_HOSTS inside the env-setup script
13 years ago
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}.
13 years ago
Michael DeHaan
3c20f4000f
Merge pull request #74 from tbielawa/ungrouped
...
Fix parse_hosts to not blow up on ungrouped hosts.
13 years ago
Michael DeHaan
95555ecc14
Merge pull request #76 from tbielawa/hacking
...
Add environment updating script 'env-setup' to facilitate running ansibl...
13 years ago
Michael DeHaan
cdd6b01d8b
Merge pull request #75 from tbielawa/freshenMakeClean
...
Freshen up Makefile clean target
13 years ago
Tim Bielawa
2d052fcefb
Freshen up Makefile clean target
13 years ago
Tim Bielawa
b190ea4b62
Fix parse_hosts to not blow up on ungrouped hosts.
13 years ago
Tim Bielawa
6343aa6214
Add environment updating script 'env-setup' to facilitate running ansible from a git checkout.
13 years ago
Michael DeHaan
a57f7ae010
Merge pull request #73 from skvidal/feature
...
rpm pkging/spec file
13 years ago
Seth Vidal
78566946c0
correct license
13 years ago
Seth Vidal
11bf2a5e03
add python-paramiko dependency
13 years ago
Seth Vidal
47aa018a84
add MANIFEST.in, ansible.spec, modify setup.py for rpm pkg creation
13 years ago
Michael DeHaan
37541ea800
Merge pull request #70 from tbielawa/playbookmanpage
...
Correct see-also in playbook manpage
13 years ago
Michael DeHaan
cb5929dad7
Setup module tests
13 years ago
Michael DeHaan
c71afe35d6
Async tests complete. Fixed bug in async_wrapper
13 years ago
Michael DeHaan
fae3a71899
WIP on async tests
13 years ago
Michael DeHaan
f8eab8ed7e
Here are those tests I talked about previously :)
13 years ago
Michael DeHaan
369b9cde1c
Add test for template module and make 'dark' errors clearer if we get output back and the JSON
...
is not parseable
13 years ago
Michael DeHaan
c86b388812
Strip trailing newlines from command module, which happens in some shell commands
13 years ago
Michael DeHaan
8d06c074b1
* Added uptime.py as an example of somewhat minimal API usage & reporting
...
* Pattern in API now has a default
* Fixed bug in template module operation detected from running playbook (tests for that pending)
* Workaround for multiprocessing lib being harmlessly squeaky (feeder thread got sentinel)
13 years ago
Michael DeHaan
05c5c85276
Added tests for the guts of the program (Runner()) and modules. Idea is to run
...
everything as the logged in user using local checkout and write to a tempdir.
To run tests, be sure user is in SSH authorized_keys for themselves, this DOES
run through paramiko because mocking it out would defeat the point of having tests.
13 years ago
Tim Bielawa
e9ae5eb9d5
Correct see-also in playbook manpage
13 years ago
Michael DeHaan
db57933614
Allow ":" to be used to split patterns as well as ";" so if you are just using group names or fully explicit names you do not need to use shell quoting at all. Obviously if you use wildcards like "*" you wouldstill.
13 years ago
Michael DeHaan
c839229f54
Fix code formatting in README.md
13 years ago
Michael DeHaan
269a6d46d6
attempt to explain import syntax in ansible-playbook manpage. Can't include
...
examples inline because github won't display them well, want to move this
file to markdown soon.
13 years ago
Michael DeHaan
defb91ae4d
README updates
13 years ago
Michael DeHaan
6a0b793578
Remove debug comments
13 years ago
Michael DeHaan
8e07d83ad1
Async module, mostly operational, daemonizing/watch code may have bugs
13 years ago
Michael DeHaan
718e2930b2
async module now forks
13 years ago
Michael DeHaan
45c40524ef
Time limit needs to be passed to async_wrapper.
13 years ago