Commit Graph

69 Commits (8ef18c2f9841375c73352f5abc39d499786dd046)

Author SHA1 Message Date
Michael DeHaan 3f3b2a9448 Smush Jinja2 braces in playbooks so unresolved variables get parsed nicely 12 years ago
Michael DeHaan 26819d707d Reorganize docs structure to support snapshots. 12 years ago
Michael DeHaan 148d8859ba Docs on parameterized roles, make document generation output less noisy 12 years ago
Serge van Ginderachter ec6236a107 add clean up authors file to make clean 12 years ago
Jimmy Tang 40ca1d4b3e Teach 'make rpm' to build on RHEL5/SL5 etc... 12 years ago
Jimmy Tang 8c6caa2762 Fix up other places in makefile to use PYTHON variable
Only the nosetests aren't using the PYTHON variable now.
12 years ago
Michael DeHaan e5f5d354cf Merge pull request #2278 from jcftang/devel
Teach makefile to accept different versions of python
12 years ago
Tim Bielawa badb41390e Update the Makefile and build-site.py to notify of missing dependencies for doc compiling 12 years ago
Daniel Hokka Zakrisson e2c1b34dbb Remove webdocs from docs
No reason to build the website for RPMs/DEBs, adding dependency on
Sphinx.
12 years ago
Jimmy Tang 785068df63 Teach makefile to accept different versions of python
This commit makes the Makefile nicer for packagers so they can select versions
of python. E.g. on a RHEL5 system with Python2.6 (installed from EPEL)

	make PYTHON=python2.6 install
12 years ago
Michael DeHaan 38bd17af22 Restore authors file 12 years ago
Michael DeHaan fa550f3d7e Adding a script to auto-generate an authors file, runnable from 'make authors', which is called from 'make docs/webdocs'. 12 years ago
Michael DeHaan e9d5cf3bc2 Fix documentation YAML for pkgin module 12 years ago
Jan-Piet Mens 17f31a2a79 CLI: ansible-doc shows lists of modules & module docs on command-line
check path is directory
added manpage & setup
small cleanup
shut up module_formatter in utils to avoid trace print on crud files in library
12 years ago
Dag Wieers a162fa70da moduleformatter.py should include our own ansible clone
Without this, module_formatter.py relies on the installed ansible which is wrong in more than one way.
12 years ago
Dag Wieers d4b6aecd97 Fix broken RPM names due to static _rpmfilename 12 years ago
Michael DeHaan 062484b9bd Put generated manpages back in correct directory 12 years ago
Michael DeHaan 110244d7b4 Merge branch 'remove-argparse' of git://github.com/dagwieers/ansible into devel
Conflicts:
	hacking/module_formatter.py

Don't run webdocs build when building packages
12 years ago
Marco Vito Moscaritolo ee679c0190 Unified document generator and make to generate JSON and JS files 12 years ago
Michael DeHaan d5bb7258c8 Working on makefile 12 years ago
Dag Wieers 2dcd0846ab Use getopt instead of argparse
On RHEL5 and RHEL6 there is not argparse, and 'make rpm' fails because of this.
With this change it works, and I can test and fix my own documentation...
12 years ago
Tim Bielawa 9541b47b52 Keep the man3 directory. 'make docs' breaks without it. 12 years ago
Michael DeHaan 4a95194424 Docs rebuild in new project structure. 12 years ago
Tim Bielawa 85fb7c6d4b Library functions and modules should be in the 3 man page section. Also the files should end in '.3' 12 years ago
Michael DeHaan 53d24ef002 Check in generated manpage documentation from modules 12 years ago
Dag Wieers 765061d445 Make use of UTC dates for RPM timestamp
So they can be shared/compared by people in different timezones
12 years ago
Jan-Piet Mens 61ee632d23 documentation: man template: support empty options; add Version to Makefile 12 years ago
Michael DeHaan 06cfc52afd fix tests and change nosetests flags so asserts show what comparisons failed 12 years ago
Jan-Piet Mens d47e15a1f2 module_formatter in hacking/ 12 years ago
Matthew Johnson 5072ed3bd3 date parsing for OSX is BSD-like 12 years ago
Brian Coca 83d1028a21 - Makefile now works with freebsd (date command options are diff)
date still issues warning and ignores TZ

- Updated tests to work inside bsd jails (127 addresses are an issue)
Signed-off-by: Brian Coca <briancoca+ansible@gmail.com>
12 years ago
Michael DeHaan eee2d1afd0 If ANSIBLE_KEEP_REMOTE_FILES=1 is set as an environment file, remote files will not be deleted, which is useful only for development debugging purposes. 12 years ago
Tim Bielawa 6d9e873724 Add some docs/examples
Add a basic ansible-pull man page.

Add the example playbooks/scripts to the RPM package.

Closes #841
12 years ago
Michael DeHaan 00c28e2810 formatting 12 years ago
Michael DeHaan 477ca2ed1a Make pep8 tests run against the library directory as well, and associated tweaks (mostly to indentation) in the library
directory.
12 years ago
Dag Wieërs 6b774f8cf5 Place the freshly built RPM directly into rpm-build/
So we get the exact behavior as the SRPM build
12 years ago
Dag Wieërs ec7c8eb8ca Implements git commit date into RPM release
With this patch one can do `make rpm` and get an RPM file that looks like:

  rpm-build/noarch/ansible-0.6-0.git201208010541.el6.noarch.rpm

My goal was not to rewrite the original SPEC file, and/or the tarball. In other
projects what I tend to do is prepare the SPEC file in the tarball with the
correct version/release so that rpmbuild works on the (released) tarball as
well. If this is wanted, we will have to rewrite the SPEC file on the fly as
part of creating the tarball. If there is no git or .git/ available, we will
use the current time.
12 years ago
Chin Fang e3b2521f01 Added a host expansion feature to ansible's inventory parsing 13 years ago
Henry Graham 21269a845f debian packaging 13 years ago
Michael DeHaan e36a52f06c Ignore pyflakes E261 style output (multiple spaces before inline comment) 13 years ago
Michael DeHaan 9d0f2a6e9b Unused import 13 years ago
Michael DeHaan f72114c657 Move setup.py stuff back to top level as "make sdist" was not working, plus, it makes sources cleaner. 13 years ago
Tim Bielawa 516df5f64f Move packaging related things out of the root directory:
Distutils MANIFEST.in, setup.py -> packaging/distutils/ directory.
13 years ago
Tim Bielawa 66f294d5c1 Finish up moving spec file 13 years ago
Tim Bielawa 3f9a41b22d Docs build using version in the VERSION file.
Makefile upgraded with comments and some simplifications.

Remove useless 'PHONEY' and 'VPATH' directives from Makefile
13 years ago
Tim Bielawa d43cf592eb Renaming asciidoc sources to .in.
Change manpages to build from *.in and add comments about how the make
targets work.
13 years ago
Tim Bielawa 2d26d1fd71 Update %description and auto-add version to manpages
Conflicts:

	docs/man/man1/ansible-playbook.1
	docs/man/man1/ansible.1

Update %description
13 years ago
Michael DeHaan 96a22b582b Disable ohai test as it's hanging for whatever reason, but doesn't do this in real life.
Run tests in verbose mode.
13 years ago
Michael DeHaan 9c5ec886a6 Import cleanup, plus have /bin/ansible remind you if no hosts were matched by a pattern (for instance, assume
there was a typo in the pattern)
13 years ago
Michael DeHaan f1c8fc63cb host file must be marked config(noreplace), update rpm build to use checked in manpage src 13 years ago