Commit Graph

2843 Commits (f160502b7b24e099a141d1cfb2ef271997946cc9)
 

Author SHA1 Message Date
Michael DeHaan f160502b7b Merge pull request #1337 from skvidal/devel
trivial --syntax-check option to ansible to just do the yaml validation
12 years ago
Michael DeHaan 7da94e0359 Merge pull request #1334 from bcoca/cowsay4bsd
cowsay for BSD!
12 years ago
Seth Vidal 41195d0d49 trivial --syntax-check option to ansible to just do the yaml validation
check. Lots of room to make this more interesting - but not today
12 years ago
Brian Coca e98153d26d cowsay for BSD!
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
12 years ago
Michael DeHaan 036f853d42 Merge pull request #1330 from wzzrd/pip
Test for python-pip as well as pip
12 years ago
Maxim Burgerhout 2f6b9e69a7 Test for python-pip as well as pip
On Red Hat, CentOS and Fedora systems, the pip binary will be called python-pip
instead of pip. This commit makes the pip module also check for python-pip.

The reason we check for python-pip *first*, is to have ansible fail on not
finding 'pip' and reporting *that*. This is consistent with current behaviour
and will not confuse users of Debian et al., where the 'python-pip' binary
never exists.

Tested on Fedora 18 and Ubuntu 12.04.
12 years ago
Michael DeHaan 05ae500d78 Merge pull request #1329 from tbielawa/pausequotes
The pause 'prompt' parameter now requires quotes around the message.
12 years ago
Tim Bielawa 8831e59700 The pause 'prompt' parameter now requires quotes around the message. 12 years ago
Michael DeHaan 8dadf8a905 Use 'path' in file documentation, though src/dest work, it's less intuitive. 12 years ago
Michael DeHaan 7b6f8e485a refine example 12 years ago
Michael DeHaan 2c90298841 Merge pull request #1314 from apenney/bugfix/git
Check rc instead of parsing for errors.
12 years ago
Michael DeHaan fb686d40bc Merge pull request #1322 from sfromm/moduleformatter
Miscellaneous fixes to module_formatter.py
12 years ago
Michael DeHaan 971dd53622 Added documentation on looping over with_* like fileglob 12 years ago
Michael DeHaan dd3beb844f add lookup plugins to setup.py 12 years ago
Michael DeHaan c5d2f6b0d3 implement lookup plugins for arbitrary enumeration over arbitrary things. See the mailing list for some cool examples. 12 years ago
Stephen Fromm 60f06c36b3 Miscellaneous fixes to module_formatter.py
Try to autodetect MODULEDIR, instead of hardcoded path in jpmens
homedir.
Check if MODULEDIR exists; exit if it doesn't.
Rewrite boilerplate() to use DOCUMENTATION.yaml in examples/.  This
makes use of tbielawa's recent change that added this example file.
This also fixes -G so that it works.  boilerplate() was commented out
before.
12 years ago
Michael DeHaan 29d49d415f fix mentioning of redundant aliases in module docs, remove was removed anyway 12 years ago
Michael DeHaan 7644dbe330 Update some examples to explain why notify is not used 12 years ago
Michael DeHaan 621708e976 user module should be using module.BOOLEANS for choices 12 years ago
Michael DeHaan aa98c84a62 HP and vsphere modules are crazy awesome but I am thinking these belong in contrib not core. 12 years ago
Michael DeHaan 85d6af637a update changelog 12 years ago
Michael DeHaan 70ed560fb3 Add FILES to manpage 12 years ago
Brian Coca 6886683e16 small patch to fact gathering for when no dmesg.boot exists on freebsd, mainly happens in jails
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
12 years ago
Michael DeHaan 291648ccd9 Fix documentation consistency in .gitignore 12 years ago
Michael DeHaan 579b80ab8f Fix redundancy in .gitignore file 12 years ago
Michael DeHaan d90210973d Merge pull request #1307 from sfromm/pull2
updates to ansible-pull
12 years ago
Michael DeHaan 271db7bddb Merge pull request #1308 from abondis/named_action
named actions + modules list in utils.py
12 years ago
Michael DeHaan 35163bce96 Merge pull request #1310 from dagwieers/hpilo_boot-cleanup
hpilo_boot: Various clean ups in documentation and code
12 years ago
Michael DeHaan b1ccda00f8 Merge pull request #1311 from dagwieers/hpilo_facts-cleanup
hpilo_facts: Various clean ups in documentation and code
12 years ago
Michael DeHaan 1487b6a1bb Merge pull request #1313 from dagwieers/vsphere_facts-cleanup
vsphere_facts: Various cleanups in documentation
12 years ago
Michael DeHaan 3a8dc2308b Merge pull request #1315 from dagwieers/mail-callback-improvement
This should set the sender properly.
12 years ago
Michael DeHaan a82522a5c4 Merge pull request #1317 from abondis/fix_mysql_db
fix issue with mysql authentication and states not dump or import
12 years ago
Michael DeHaan 20a7227056 Merge pull request #1318 from dsummersl/cron24
fixed cron library so backups are python2.4 compatible
12 years ago
Michael DeHaan 6d8d1ad426 Merge pull request #1320 from tbielawa/DOCUMENTATION
Add DOCUMENTATION for module documentation.
12 years ago
Michael DeHaan 90944ec45a Merge pull request #1319 from jhoekx/virt-boot
Add virt_boot module.
12 years ago
Tim Bielawa 4b04d7a914 Add DOCUMENTATION for module documentation. 12 years ago
Michael DeHaan 0028a9d651 Merge pull request #1309 from abondis/tasks_sudo_option
#1303: add sudo option to tasks
12 years ago
Jeroen Hoekx 25e415c031 Add virt_boot module to define libvirt boot parameters. 12 years ago
Dane Summers 7399224428 fixed cron library so backups are python2.4 compatible 12 years ago
Aurélien Bondis 1f91a70310 fix issue with mysql authentication and states not dump or import 12 years ago
Dag Wieers de34c7c133 This should set the sender properly. 12 years ago
Ashley Penney f4484f800b Further cleanup to add another rc check and remove a now redundent one. 12 years ago
Ashley Penney 6042419624 Check rc instead of parsing for errors. This now catches the case where the remote branch has been deleted and you're still trying to pull against it. 12 years ago
Dag Wieers 5927373c26 Various clean ups in documentation and code
This commit improves the following items:
 - Remove the 'match' functionality, this can now be achieve by using the `fail` module together with `only_if` after running the `hpilo_facts` module. Since this gives more functionality, e.g. comparing server names, but also serial numbers or uuids with other inventory information, this is prefered. An example is added to show how this is achieved.
 - Clean up all C() calls in documentation
 - Added state=poweroff in order to power off a server. The use-case is here that in general we do not want to provision systems that are already running (this enforcement can be disabled using force=yes) but for test systems we should be able to power them off so we can start the normal provisioning process. (We could also force boot them, but that's less elegant)
 - The module now correctly indicates when something has changed. So if a server is powered off that was not off already, this is indicated, or when media boot-settings have been changed, this is also correctly indicated. Previously every call to hpilo_boot was (incorrectly) considered a change.
12 years ago
Dag Wieers 5fe8205d36 vsphere_facts: Various cleanups in documentation
This commit improves the following items:
 - Clean up all C() calls in documentation
 - Reindent the documentation
12 years ago
Dag Wieers 5612cce4a4 hpilo_facts: Various clean ups in documentation and code
This commit improves the following items:
 - Remove the 'match' functionality, this can now be achieve by using the `fail` module together with `only_if` after running the `hpilo_facts` module. Since this gives more functionality, e.g. comparing server names, but also serial numbers or uuids with other inventory information **and** a proper message, this is prefered. An example is added to show how this is achieved.
 - Clean up all C() calls in documentation
 - Remove trailing spaces in HP iLO's Serial Number output so that they can be compared to CMDB or other inventory information
12 years ago
Aurélien Bondis 6d183959ba #1303: add sudo option to tasks 12 years ago
Aurélien Bondis 2063e10c00 named actions + modules list in utils.py 12 years ago
Stephen Fromm 60d3e9f3de Add --purge option to ansible-pull
Removes git checkout after playbook run.
12 years ago
Stephen Fromm 034e8f59ed Clean up auto-selection of playbook and miscellaneous changes
Direct any ansible-pull specific messages to stderr.
Introduce try_playbook() and select_playbook() to remove try/except-y.
12 years ago