Commit Graph

307 Commits (e8751baaf3d56591ea69a78c047b7bf7c72560bd)
 

Author SHA1 Message Date
Michael DeHaan e8751baaf3 Remove remote log function as it's only used in one place now 13 years ago
Michael DeHaan 696b67f935 Fix async to use the new argfiles method (wrapping brain around rock, really must write module development guide) 13 years ago
Michael DeHaan aeea46678d Fix the copy module to use the argsfile method 13 years ago
Michael DeHaan 917f929e86 Fix template module 13 years ago
Michael DeHaan 6b152c94b9 Correct the setup module 13 years ago
Michael DeHaan 3ea9174ed7 Split argsfile handling into subfunction, attempt to apply argsfile logic to setup 13 years ago
Seth Vidal 1f53c89b14 convert so they handle argsfiles rather than arguments 13 years ago
Seth Vidal a9a9e3af65 modify yum to be used with argsfile and fix a number of items with
how it handles "advanced" pkgspecs for the state= cases
13 years ago
Seth Vidal a9948f97c6 convert runner to use an args file rather than just arguments passed
on the command line
13 years ago
Michael DeHaan f681425453 Rename hosts file back since included by MANIFEST.in 13 years ago
Michael DeHaan ee69bd18cc Add -T to playbook manpage 13 years ago
Michael DeHaan db61e8f346 Fix -t tree mode so it writes out the value for each host, not everything, once again 13 years ago
Michael DeHaan e6f175e929 Allow the SSH timeout to be passed to playbooks just like it already could with /usr/bin/ansible 13 years ago
Michael DeHaan e3b4981feb Various additions to make sure timed out and failed hosts are taken out of the playbook even if failed
during setup, async tasks, or poll operations.  This introduced some redundancy so I've made some
notes in the code where things need to be refactored to remove them.
13 years ago
Michael DeHaan 4ae98ed92d Upgrades to error handling, now general try/catch available. 13 years ago
Michael DeHaan 2e1b59a9d2 restructure the examples directory 13 years ago
Michael DeHaan 09a7119e74 Annotate more files, fix missing imports messing with playbooks. Hey Tim, please test your stuff :) 13 years ago
Michael DeHaan 238fffd6ef Annotated playbook example 13 years ago
Michael DeHaan 84c60c2750 Merge pull request #91 from skvidal/feature
modify build/spec file to work on el6 with quasi-broken setup process
13 years ago
Michael DeHaan 8df0c92f3c Merge pull request #28 from tbielawa/DieGracefully
Die gracefully...
13 years ago
Seth Vidal 3567237dbc modify build/spec file to work on el6 with quasi-broken setup process
remove data_files section from setup.py for some reason or another
13 years ago
Tim Bielawa dfd2c6dce3 Implement friendlier error handling.
Generic AnsibleError exception + host inventory missing exception.
First shot at catching these in a generic way in bin/ansible*.
13 years ago
Michael DeHaan ce85222fa6 What we are running is actually a "play" (multiple plays per playbook) so rename the function to make it more clear 13 years ago
Michael DeHaan adf1492da2 Add external vars example 13 years ago
Michael DeHaan e582bd5ec5 Add fire and forget example 13 years ago
Michael DeHaan 86e19cd8c8 This adds async poll support to playbooks. See examples. Some more testing due + docs
but this is more or less a mirror of what /bin/ansible does.  It also has a 'fire and
forget' mode if the poll interval is left off or set to 0.
13 years ago
Michael DeHaan 32484f2156 Merge pull request #90 from skvidal/feature
yum module
13 years ago
Seth Vidal 0b94c78042 yum module
add state=latest and clean up the output cases
added some fixmes on verification
13 years ago
Michael DeHaan 6660a5efbd add polling info to manpage 13 years ago
Michael DeHaan db7ba87111 Add polling logic in runner such that all actions get kicked off everywhere then polling
happens only on needed hosts, allowing some hosts to fail and drop out of the running.
13 years ago
Michael DeHaan 49a636d8a0 Fixed up async and polling logic. 13 years ago
Michael DeHaan 5be1a612d3 Add async polling logic to runner. Will add to playbook shortly, have to diagnose why paramiko
is not letting async_wrapper daemonize itself when it does work fine when directly executed.
13 years ago
Michael DeHaan 60a13cf540 Ignore commented out lines in the ansible setup files. 13 years ago
Michael DeHaan e284c8cedc Merge pull request #16 from tbielawa/master
Updates for better RPM packaging (plus tasks)
13 years ago
Tim Bielawa 82befee081 Change Source0 in spec file to point at github downloads 13 years ago
Tim Bielawa dce6074a81 Fixes for better RPM packaging
Spec file installs default example hosts files
Spec file marks the contents of /etc/ansible as %config(noreplace)

Example hosts file now with instructional comments
13 years ago
Tim Bielawa 3f245498c4 Fixup RPM building: Makefile, Spec File, .gitignore
Fixup distutils: setup.py

Clean old cruft: section 5 man pages
13 years ago
Michael DeHaan 4c9dd972b4 Fixes for output formatting 13 years ago
Michael DeHaan bb5e4fad48 Abstracted out transport from implementation so it can be pluggable. Also fixes for output format. 13 years ago
Michael DeHaan 8808c814ea Merge pull request #89 from skvidal/feature
touch up to yum module.
13 years ago
Seth Vidal a99b491b32 touch up to yum module.
fix a couple of bugs
comment about state='latest'
13 years ago
Michael DeHaan 209760f8f6 Add manpage for ansible-playbook, since it is a command. More detailed docs will remain on the web site. 13 years ago
Michael DeHaan 1699013fbd Rename 'ensure' to 'state' so it lines up with the service module 13 years ago
Michael DeHaan ae0e4ff0cf Merge pull request #88 from skvidal/feature
runner buglet and yum module
13 years ago
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
13 years ago
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
13 years ago
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.
13 years ago
Michael DeHaan 56de2e112a Update README.md 13 years ago
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.
13 years ago
Michael DeHaan 96d39a0dff Merge pull request #3 from tbielawa/authver
Adding version and author to ansible init.
13 years ago