Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inventory hostname patterns can be alpha ranges, e.g. host[a:f]. #1526

Closed
wants to merge 229 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
229 commits
Select commit Hold shift + click to select a range
eedd92d
Use && for executing next command if, and only if, command1 returns a…
phgrau Oct 15, 2012
b1563c8
Add note: Debian Squeeze has no add-apt-repository
phgrau Oct 15, 2012
b2ea92d
Merge pull request #1335 from phgrau/devel
mpdehaan Oct 16, 2012
c9453da
RST typo
mpdehaan Oct 16, 2012
e4c9358
Fix help text
mpdehaan Oct 16, 2012
e5b013e
add docs on fireball
mpdehaan Oct 16, 2012
e9bf751
Docs + fix variable precedence of environment variables (ok, ok, I gi…
mpdehaan Oct 16, 2012
f8fcbc6
more 0.8 documenting
mpdehaan Oct 16, 2012
eef7262
more playbook docs
mpdehaan Oct 16, 2012
96f6244
Further docs hacking
mpdehaan Oct 16, 2012
5be35f2
More docs
mpdehaan Oct 16, 2012
d779f88
more 0.8 docs
mpdehaan Oct 16, 2012
63b1be4
Rebuild docs
mpdehaan Oct 16, 2012
946e947
Searchindex should not be part of source control
mpdehaan Oct 16, 2012
4448391
Merge pull request #1349 from bcoca/fix_bsd_dmesg_jails
mpdehaan Oct 16, 2012
ac16efe
Fix cowsay! Moo.
mpdehaan Oct 17, 2012
339c05b
Allows delegate_to to use inventory host/port info.
mpdehaan Oct 17, 2012
c16572b
Allow use of variables in delegate_to
mpdehaan Oct 17, 2012
88e4051
Merge pull request #1351 from cocoy/ec2-v2
mpdehaan Oct 17, 2012
4abf23d
Merge pull request #1353 from jpmens/moduledev1
mpdehaan Oct 17, 2012
31d1afc
Added comment about long lines in playbooks
nigelm Oct 17, 2012
5252b7b
Merge pull request #1357 from nigelm/nigelm_doc_tweaks
mpdehaan Oct 17, 2012
db7149d
Remove debug print statements
dhozac Oct 17, 2012
b0f7296
Merge pull request #1360 from dhozac/remove-debug-print
mpdehaan Oct 17, 2012
514f923
Fix ansible_ssh_host after 339c05bb
dhozac Oct 17, 2012
d21d367
Various tweaking of the delegate_to loop code.
mpdehaan Oct 17, 2012
25162c9
Only expand lists in templating inside of module action lines, to avo…
mpdehaan Oct 17, 2012
bb3e7f4
Remove "the the"
mpdehaan Oct 17, 2012
84cc3e2
Copy module can replace symlink with a real file.
lantins Oct 18, 2012
08a6ac3
Erroneous space in facter documentation.
lantins Oct 18, 2012
9d94311
Fix indent of fail module example to prevent unwanted `<blockquote></…
lantins Oct 18, 2012
bde44f9
Add examples to user module documentation.
lantins Oct 18, 2012
1c77f95
Add who uses ansible page back.
mpdehaan Oct 18, 2012
feb497a
Env var vs config priority fixing
mpdehaan Oct 18, 2012
aaa413d
Merge branch 'documentation' of git://github.com/lantins/ansible into…
mpdehaan Oct 18, 2012
ee26853
Fix port overrides such that with fireball mode you don't have to spe…
mpdehaan Oct 18, 2012
6aafb42
add error message if keyczar is not installed and the user tries to u…
mpdehaan Oct 18, 2012
3934cd7
Fixed tests to reflect desired configuration behaviour
Oct 18, 2012
c98b828
Add support for Github-flavored Markdown to module_formatter
Oct 18, 2012
558ca59
module_formatter: .rst now correctly handles code examples
Oct 18, 2012
f834c62
Addition to WhoUses + typo fix
Oct 18, 2012
736b554
symlink fix
jpalley Oct 18, 2012
d5c5390
typo in handlers example yaml
srgvg Oct 18, 2012
28ca655
Accessing a node that doesn't exist throws an exception
dhozac Oct 18, 2012
6701726
Port should be an integer
dhozac Oct 18, 2012
4e79835
Merge pull request #1378 from dhozac/ansible_ssh-fixes
mpdehaan Oct 18, 2012
ee4bb97
Merge pull request #1375 from sergevanginderachter/devel
mpdehaan Oct 18, 2012
d3b543c
Merge pull request #1374 from brainpage/symlink_fix
mpdehaan Oct 18, 2012
3fd77ed
Merge pull request #1373 from jpmens/who1
mpdehaan Oct 18, 2012
cff8ea1
Merge pull request #1372 from jpmens/rst_template1
mpdehaan Oct 18, 2012
731ef69
Merge pull request #1367 from jpmens/mdtempl
mpdehaan Oct 18, 2012
6f05eb9
Merge pull request #1361 from lantins/devel
mpdehaan Oct 18, 2012
a908bd6
When using delegation, local_action should always use the local conne…
mpdehaan Oct 19, 2012
a94a228
update changelog
mpdehaan Oct 19, 2012
9441bd7
Merge branch 'devel' of git://github.com/willthames/ansible into devel
mpdehaan Oct 19, 2012
4b7f257
delete extra else clause
mpdehaan Oct 19, 2012
2383166
Update contrib/README.md
mpdehaan Oct 19, 2012
06923cd
None is unfortunately not an integer
dhozac Oct 19, 2012
aed9079
Merge pull request #1383 from dhozac/fix-for-local-port
mpdehaan Oct 19, 2012
c8245f3
Raise error for missing hosts in inventory scripts as well
dhozac Oct 19, 2012
84f4856
Merge pull request #1385 from dhozac/raise-error-for-scripts-too
mpdehaan Oct 19, 2012
4f3b671
Update Hadoop contrib URL.
Oct 19, 2012
33be752
when a pkg is installed, but not from any repo, don't error out
skvidal Oct 19, 2012
9961c1e
make policy only be required if state is not disabled
goozbach Oct 19, 2012
f5d7005
Merge pull request #1387 from skvidal/devel
mpdehaan Oct 19, 2012
ce6bd0c
Merge pull request #1386 from jkleint/devel
mpdehaan Oct 19, 2012
69fbc5a
Merge pull request #1388 from goozbach/selinux_bugs
mpdehaan Oct 19, 2012
0a47cf5
update changelog
mpdehaan Oct 20, 2012
e072271
Update packaging and CHANGELOG for release
mpdehaan Oct 20, 2012
ffcd0fe
Release version bump for 0.9 (development branch)
mpdehaan Oct 20, 2012
bc6f09b
Add ability to create SSH key for user in user module
sfromm Oct 20, 2012
303e08d
Use os.path.join where appropriate
sfromm Oct 20, 2012
ab65329
Merge pull request #1338 from alopropoz/extra_vars_override
mpdehaan Oct 20, 2012
7691516
Merge pull request #1339 from inertialbit/add-basic-pg-role-attribute…
mpdehaan Oct 20, 2012
9186355
Merge pull request #1389 from sfromm/issue1214
mpdehaan Oct 20, 2012
e1eb254
Fix the basic templating system such that when the template ends in '…
mpdehaan Oct 20, 2012
1416167
DWIM the paths for first_available_file
mpdehaan Oct 20, 2012
960d230
Clarify first_available_file is only for copy/template
mpdehaan Oct 20, 2012
2c60adb
Added 'script', a module that can push and insantly run a remote scri…
mpdehaan Oct 20, 2012
6cb4368
Adds release date for Cathedral
baalexander Oct 21, 2012
4d6a12d
Merge pull request #1393 from baalexander/devel
mpdehaan Oct 21, 2012
95d90e3
Various performance streamlining and making the file features usable …
mpdehaan Oct 21, 2012
487e678
update changelog
mpdehaan Oct 21, 2012
61a3be2
Added some info on the unit tests requirements
nigelm Oct 21, 2012
157bc5c
Merge pull request #1396 from nigelm/nigelm_doc_tweaks
mpdehaan Oct 21, 2012
90ab16c
clarify message about name of configuration parameter
mpdehaan Oct 21, 2012
9a75cef
Add a bit more info about tests to CONTRIBUTING
mpdehaan Oct 21, 2012
93c93a3
Merge varFind and varLookup
dhozac Oct 20, 2012
00b2691
Fix ansible_ssh_host again
dhozac Oct 21, 2012
fafe20c
Merge pull request #1399 from dhozac/set-delegate-for-alias
mpdehaan Oct 21, 2012
9c3a5b3
Clarify how only_if works, also combined with with_items
dagwieers Oct 22, 2012
b4093b2
Merge pull request #1404 from dagwieers/doc-fix1
mpdehaan Oct 22, 2012
d585fe8
Revert "Vars specified via CLI have the highest priority."
mpdehaan Oct 21, 2012
ade835f
Allowing the EC2 inventory script to gracefully handle AWS API issues
Oct 22, 2012
7cf3799
Help git module work when working in 'no branch' scenario
sfromm Oct 22, 2012
bf7dfbf
Merge pull request #1414 from sfromm/issue1412
mpdehaan Oct 22, 2012
2ad7037
Merge pull request #1413 from pas256/devel
mpdehaan Oct 22, 2012
2a7422f
make --limit take a , as a separator as well as ; or :
skvidal Oct 23, 2012
a28de70
Merge pull request #1416 from skvidal/devel
mpdehaan Oct 23, 2012
5e8ac9f
update changelog
mpdehaan Oct 23, 2012
b642c5d
Don't pass runner instance through the mulitprocessing queue, fix tem…
mpdehaan Oct 23, 2012
4c6e9f5
Since we are not needing to pass runner through the multiprocessing q…
mpdehaan Oct 23, 2012
6a09136
Reformat code: examples consistently
Oct 23, 2012
055bb2c
Merge pull request #1426 from jpmens/docs_examples1
mpdehaan Oct 23, 2012
58847c0
mount: update example with mandatory option
bleader Oct 23, 2012
e5f84cd
Correct $last_result example in playbooks doc
nigelm Oct 23, 2012
d2e5116
Spelling fixes
nigelm Oct 23, 2012
b94edae
Document ssh_key options are in version 0.9
sfromm Oct 23, 2012
7eebfd4
Merge pull request #1430 from sfromm/issue1425
mpdehaan Oct 24, 2012
31c8bf6
Merge pull request #1429 from nigelm/nigelm_doc_tweaks
mpdehaan Oct 24, 2012
d50d0da
Merge pull request #1427 from bleader/devel
mpdehaan Oct 24, 2012
346cbc3
first cut at yum module with enable/disable repo
skvidal Oct 24, 2012
fdddb57
tested and verified yum enable/disablerepo option for yum module
skvidal Oct 24, 2012
5b6875d
fix DOCUMENTATION for user
Oct 24, 2012
23c5f33
Merge pull request #1433 from jpmens/doc_user
mpdehaan Oct 24, 2012
8dd6bc6
Reinstate Ctrl+C handling
mpdehaan Oct 24, 2012
4ab06b4
Refine new keyboard interrupt handling. Output still a bit gross.
mpdehaan Oct 24, 2012
46b993b
close the pool.
mpdehaan Oct 24, 2012
0ca536f
added the GRANT privilege for a mysql user (WITH GRANT OPTION)
Oct 18, 2012
3ec0876
- removed space escapes from MySQL SHOW GRANTS regex
Oct 24, 2012
6700e6b
Add D square to who_uses_ansible.
jhoekx Oct 24, 2012
d75f008
add comments that enablerepo/disablerepo are new in 0.9
skvidal Oct 24, 2012
033335c
Fix chmod occurring as wrong user when sudo as non-root
Oct 24, 2012
4b4af2f
Resolve traceback when python-selinux is not installed
dagwieers Oct 24, 2012
7c2910d
DOCUMENTATION: LaTeX template is back
Oct 24, 2012
4bbc209
Improve the error message for missing files
dhozac Oct 24, 2012
33f3b06
path_dwim the path given to with_fileglob
dhozac Oct 24, 2012
c0b61a0
Merge pull request #1442 from dhozac/dwim-fileglob
mpdehaan Oct 24, 2012
74435ac
Merge pull request #1441 from dhozac/better-error-missing-template
mpdehaan Oct 24, 2012
7f49271
Merge pull request #1440 from jpmens/latex1
mpdehaan Oct 24, 2012
d96855f
Merge pull request #1438 from dagwieers/selinux-module-fix
mpdehaan Oct 24, 2012
a74f900
Merge pull request #1436 from jhoekx/dsquare-uses-ansible
mpdehaan Oct 25, 2012
0d96ee6
Merge pull request #1437 from lorin/sudo-nonroot-bugfix
mpdehaan Oct 25, 2012
349c713
Merge pull request #1432 from skvidal/devel
mpdehaan Oct 25, 2012
e883630
Merge pull request #1435 from stijnopheide/mysql-grant
mpdehaan Oct 25, 2012
ab6b07d
Skip check of primary group when checking other group membership
sfromm Oct 25, 2012
3416035
Write keys file to temp location to avoid potential corruption
sfromm Oct 20, 2012
a5329d9
Create temp file in directory where ssh key lives
sfromm Oct 25, 2012
8c2c8e6
Merge pull request #1444 from sfromm/issue1211
mpdehaan Oct 25, 2012
f35580d
Merge pull request #1445 from sfromm/issue1439
mpdehaan Oct 25, 2012
7cec2be
User is alias for name in 'user' module
Oct 25, 2012
5f26366
Use the delegated host's interpreters
dhozac Oct 25, 2012
657ae2c
Move contrib to .rst off the main docsite
Oct 25, 2012
485ccd4
Only strip trailing newlines from output, preserving other space
dhozac Oct 25, 2012
41b012f
Closing pool explicitly may cause some exceptions on certain Pythons,…
mpdehaan Oct 25, 2012
58009ad
Make with_items a lookup plugin
dhozac Oct 25, 2012
63b48ec
Use lookup plugins for task include with_*
dhozac Oct 25, 2012
cbcee6c
Use shutil.copyfile so as to preserve file ownership in authorized_keys
sfromm Oct 25, 2012
c851cf5
user module: fix typo in documentation
bleader Oct 25, 2012
b17d28c
Merge branch 'varfind-cleanups' of git://github.com/dhozac/ansible in…
mpdehaan Oct 26, 2012
c06a25a
Merge varReplace cleanup and move code into new file 'template.py' so…
mpdehaan Oct 26, 2012
fc94c2a
Merge pull request #1448 from jpmens/user_user1
mpdehaan Oct 26, 2012
0cd6435
Merge pull request #1449 from dhozac/localhost-interpreters
mpdehaan Oct 26, 2012
0f94042
Merge pull request #1450 from jpmens/docs_contrib1
mpdehaan Oct 26, 2012
3031d98
Merge pull request #1451 from dhozac/command-strip-newlines
mpdehaan Oct 26, 2012
cd40033
Merge pull request #1453 from sfromm/issue1211
mpdehaan Oct 26, 2012
05435c9
Merge pull request #1452 from dhozac/with_items-as-plugin
mpdehaan Oct 26, 2012
951c6a0
Merge pull request #1455 from bleader/devel
mpdehaan Oct 26, 2012
bf53aee
When atomically replacing files, copy attributes
dhozac Oct 25, 2012
75ba0ab
Fix for atomic_replace patch if file does not yet exist
mpdehaan Oct 26, 2012
269adb5
Don't close paramiko SFTP multiple times in the same runner pass. No…
mpdehaan Oct 26, 2012
cd39d41
Some caching improvements to paramiko which are still not yet fully l…
mpdehaan Oct 26, 2012
35ab959
Remove stray debug message
mpdehaan Oct 26, 2012
936caf5
stray debug
mpdehaan Oct 26, 2012
156feaf
Explicitly execute /bin/sh versus $SHELL because some folks have very…
mpdehaan Oct 26, 2012
1006127
update changelog
mpdehaan Oct 26, 2012
9bf7734
Tweak docsite re: resources/contrib page
mpdehaan Oct 26, 2012
cb61285
Add HP on request
mpdehaan Oct 26, 2012
336ab8a
Make sure we always return 'rc' from the command module
dagwieers Oct 26, 2012
abd9e78
Merge pull request #1456 from dagwieers/command-fix
mpdehaan Oct 26, 2012
9b054be
Initialize sftp variable to fix error on transferless session
dhozac Oct 26, 2012
951d488
Merge pull request #1460 from dhozac/init-sftp-paramiko
mpdehaan Oct 26, 2012
f36a8be
Use previous proven multiprocessing logic as the simplification didn'…
mpdehaan Oct 26, 2012
a1e0575
Make group_vars and host_vars available to usr/bin/ansible, and make …
mpdehaan Oct 26, 2012
19459e7
Config parameter rename
mpdehaan Oct 27, 2012
8bb3a9f
Fixup setup.py path
mpdehaan Oct 27, 2012
013c891
Fix for sudo defaults if sudo is passed in via --extra-vars
mpdehaan Oct 27, 2012
05dd5a8
Added 'when' as a shortcut around only_if.
mpdehaan Oct 27, 2012
e1bc681
Update 'who uses' page
mpdehaan Oct 27, 2012
22f767d
Add note about when you still have to use only_if
mpdehaan Oct 27, 2012
08b78bf
Don't add file module arguments by default
dhozac Oct 28, 2012
f55ff2f
Merge pull request #1465 from dhozac/no-default-file-args
mpdehaan Oct 28, 2012
9496dcb
Allow vars_files sequences without a default
dhozac Oct 28, 2012
75d6ba3
Send a host to runner executor instead of a letter.
jhoekx Oct 29, 2012
3f60e1f
Fix output of pause plugin.
jhoekx Oct 29, 2012
5d24751
Merge pull request #1472 from jhoekx/action-host-letter
mpdehaan Oct 29, 2012
345a9e0
Add a group_by action plugin.
jhoekx Oct 27, 2012
7b7678d
Missing errors-import causes traceback
dagwieers Oct 29, 2012
34b3330
More useful error message for if not HAVE_SELINUX
wzzrd Oct 29, 2012
fbf18cf
add check that vars plugins are not handing back None
skvidal Oct 29, 2012
a930183
fix removal case where first pkg in a list is not installed at all
skvidal Oct 29, 2012
385774e
Merge pull request #1475 from dagwieers/errors-fix
mpdehaan Oct 29, 2012
0faef76
Merge pull request #1477 from skvidal/devel
mpdehaan Oct 29, 2012
b8a6cd1
fix up remove and fix fixme checking to see if pkg was removed
skvidal Oct 30, 2012
a868a46
Use return codes > 255 for Ansible-specific errors.
dagwieers Oct 30, 2012
8d60b7e
Merge pull request #1479 from wzzrd/selinux
mpdehaan Oct 30, 2012
7ebbace
Merge pull request #1480 from dagwieers/command-fix2
mpdehaan Oct 30, 2012
47128bd
Fix ${var.$other_var} and add test cases for it
dhozac Oct 30, 2012
7c71d33
- Fixed some typos for the ansible config file
arrfab Oct 30, 2012
8049777
Make sure ownership is set correctly for user's new ssh keys
sfromm Oct 30, 2012
358bfe5
Add option create= to lineinfile module
dagwieers Oct 30, 2012
bea29d8
Fix typo
srgvg Oct 30, 2012
70e81dd
Merge pull request #2 from sergevanginderachter/dagwieers/lineinfile-…
dagwieers Oct 30, 2012
92af5eb
Add domainname to ansible facts
srgvg Oct 28, 2012
ed0ce55
Merge branch 'fix-var-in-var' of git://github.com/dhozac/ansible into…
mpdehaan Oct 30, 2012
8f64ae4
Merge branch 'vars_files-list-no-default' of git://github.com/dhozac/…
mpdehaan Oct 30, 2012
09c3cb6
Merge pull request #1474 from jhoekx/group-by-plugin-template
mpdehaan Oct 30, 2012
67479ed
Simplify the group_by example a small bit
mpdehaan Oct 31, 2012
8a40afe
Merge pull request #1487 from skvidal/devel
mpdehaan Oct 31, 2012
a031419
Merge pull request #1488 from dagwieers/lineinfile-create
mpdehaan Oct 31, 2012
9391e8d
Merge pull request #1489 from arrfab/my-branch
mpdehaan Oct 31, 2012
26606e8
Merge pull request #1490 from sfromm/issue1484
mpdehaan Oct 31, 2012
78f713f
Rename 'domainname' to 'domain'
mpdehaan Oct 31, 2012
a111165
pep8 fixes
mpdehaan Oct 31, 2012
9efb955
pyflakes fixes (mostly unused imports, unused vars)
mpdehaan Oct 31, 2012
0089c43
Fix service module for varnish initscript in EPEL
dhozac Oct 31, 2012
f9f136c
Merge pull request #1496 from dhozac/varnish-init-script
mpdehaan Oct 31, 2012
33ecc0c
Skip tasks with a with_* that is empty
dhozac Oct 31, 2012
fe668e0
Make lookup API extensible and allow basedir to be passed
dhozac Oct 31, 2012
acf97a9
Add a template lookup plugin
dhozac Oct 31, 2012
2d53933
Use default port if ansible_ssh_port is not set for the delegated node
dhozac Nov 1, 2012
2e0e90d
Merge pull request #1505 from dhozac/delegate_to-port
mpdehaan Nov 1, 2012
718b8d0
Pretty-print "msg" when task fails
Nov 1, 2012
fc57168
Return original string for non-matched vars
dhozac Nov 1, 2012
f9646d2
Add test case for non-existing variable in varReplaceWithItems
dhozac Nov 1, 2012
45a7f28
Merge pull request #1508 from dhozac/host_vars-in-include
mpdehaan Nov 1, 2012
0779359
Merge pull request #1507 from lorin/pretty-print-msg
mpdehaan Nov 1, 2012
50f1d0e
Merge pull request #1502 from dhozac/improved-lookup-plugins
mpdehaan Nov 1, 2012
d861461
Inventory hostname patterns can be alpha ranges, e.g. host[a:f].
njharman Nov 2, 2012
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
27 changes: 26 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,27 @@
Ansible Changes By Release
==========================

0.8 "Cathedral" -- release pending
0.9 "Dreams" -- release pending

* various performance tweaks, ansible executes dramatically less SSH ops per unit of work
* added 'script' module for pushing and running self-deleting remote scripts
* relative paths now work for 'first_available_file'
* fix for template calls when last character is '$'
* postgresql module now takes role_attr_flags
* ability to create SSH keys for users when using user module to create users
* close paramiko SFTP connections less often on copy/template operations (speed increase)
* change the way we use multiprocessing (speed/RAM usage improvements)
* atomic replacement of files preserves permissions of original file
* if ansible_*_interpreter is set on a delegated host, it now works as intended
* authorized key module uses temp file now to prevent failure on full disk
* MySQL module takes new grant options
* user module can create SHS keys
* yum module takes enablerepo= and disablerepo=
* --limit can now take "," as well as ";" or ":"
* various git module improvements/tweaks
* EC2 module now produces nicer failure message if AWS is down (or similar)

0.8 "Cathedral" -- Oct 19, 2012

Highlighted Core Changes:

Expand Down Expand Up @@ -31,6 +51,7 @@ Other Core Changes:
* fatal errors are now properly colored red.
* skipped messages are now cyan, to differentiate them from unchanged messages.
* extensive documentation upgrades
* delegate_action to localhost (aka local_action) will always use the local connection type

Highlighted playbook changes:

Expand All @@ -46,6 +67,8 @@ Highlighted playbook changes:
* setup is not run more than once when we know it is has already been run in a play that included another play, etc
* can set/override sudo and sudo_user on individual tasks in a play, defaults to what is set in the play if not present
* ability to use with_fileglob to iterate over local file patterns
* templates now use Jinja2's 'trim_blocks=True' to avoid stray newlines, small changes to templates may
be required in rare cases.

Other playbook changes:

Expand Down Expand Up @@ -92,6 +115,8 @@ Other module Changes, Upgrades, and Fixes:
* variable '$ansible_managed' is now great to include at the top of your templates and includes useful information and a warning that it will be replaced
* "~" now expanded in command module when using creates/removes
* mysql module can do dumps and imports
* selinux policy is only required if setting to not disabled
* various fixes for yum module when working with packages not in any present repo

0.7 "Panama" -- Sept 6 2012

Expand Down
11 changes: 11 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,17 @@ We're not too strict on style considerations, but we require:
* no single-line if statements, deeply nested list comprehensions, or clever use of metaclasses -- keep it simple
* comments where appropriate

Testing Requirements
====================

Automation tests are run by "make tests" and contain a mixture of integration and "unit" level tests. To run the tests you need the following:

* nose must be installed - https://nose.readthedocs.org/en/latest/
* ansible tests require paramiko, PyYAML python modules, and python 2.6+.
* Some tests require additional components (facter, ohai) and will be skipped if not available.
* Your user environment should allow "ssh 127.0.0.1"
without a password - so a key held in ssh-agent and an authorized_keys entry.

Contributors License Agreement
==============================

Expand Down
13 changes: 7 additions & 6 deletions RELEASES.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
Ansible Releases at a Glance
============================

0.8 "Cathedral" ------- pending
0.7 "Panama" ---------- 9-06-2012
0.6 "Cabo" ------------ 8-06-2012
0.5 "Amsterdam" ------- 7-04-2012
0.4 "Unchained" ------- 5-23-2012
0.3 "Baluchitherium" -- 4-23-2012
0.9 "Dreams" ---------- pending
0.8 "Cathedral" ------- 10-19-2012
0.7 "Panama" ---------- 09-06-2012
0.6 "Cabo" ------------ 08-06-2012
0.5 "Amsterdam" ------- 07-04-2012
0.4 "Unchained" ------- 05-23-2012
0.3 "Baluchitherium" -- 04-23-2012
0.0.2 Untitled
0.0.1 Untitled

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8
0.9
1 change: 0 additions & 1 deletion bin/ansible-playbook
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

#######################################################

import os
import sys
import getpass

Expand Down
83 changes: 0 additions & 83 deletions contrib/README.md

This file was deleted.

6 changes: 3 additions & 3 deletions docs/man/man1/ansible-playbook.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: ansible-playbook
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
.\" Date: 10/12/2012
.\" Date: 10/19/2012
.\" Manual: System administration commands
.\" Source: Ansible 0.8
.\" Source: Ansible 0.9
.\" Language: English
.\"
.TH "ANSIBLE\-PLAYBOOK" "1" "10/12/2012" "Ansible 0\&.8" "System administration commands"
.TH "ANSIBLE\-PLAYBOOK" "1" "10/19/2012" "Ansible 0\&.9" "System administration commands"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions docs/man/man1/ansible-playbook.1.asciidoc.in
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ FILES

/usr/share/ansible/ -- Default module library

/etc/ansible/ansible.conf -- Config file, used if present
/etc/ansible/ansible.cfg -- Config file, used if present

~/.ansible.config -- User config file, overrides the default config if present
~/.ansible.cfg -- User config file, overrides the default config if present

AUTHOR
------
Expand Down
6 changes: 3 additions & 3 deletions docs/man/man1/ansible-pull.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: ansible
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
.\" Date: 09/06/2012
.\" Date: 10/19/2012
.\" Manual: System administration commands
.\" Source: Ansible 0.8
.\" Source: Ansible 0.9
.\" Language: English
.\"
.TH "ANSIBLE" "1" "09/06/2012" "Ansible 0\&.8" "System administration commands"
.TH "ANSIBLE" "1" "10/19/2012" "Ansible 0\&.9" "System administration commands"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
Expand Down
6 changes: 3 additions & 3 deletions docs/man/man1/ansible.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
.\" Title: ansible
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
.\" Date: 10/12/2012
.\" Date: 10/19/2012
.\" Manual: System administration commands
.\" Source: Ansible 0.8
.\" Source: Ansible 0.9
.\" Language: English
.\"
.TH "ANSIBLE" "1" "10/12/2012" "Ansible 0\&.8" "System administration commands"
.TH "ANSIBLE" "1" "10/19/2012" "Ansible 0\&.9" "System administration commands"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
Expand Down
6 changes: 4 additions & 2 deletions docs/man/man1/ansible.1.asciidoc.in
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ FILES

/usr/share/ansible/ -- Default module library

/etc/ansible/ansible.conf -- Config file, used if present
/etc/ansible/ansible.cfg -- Config file, used if present

~/.ansible.config -- User config file, overrides the default config if present
~/.ansible.cfg -- User config file, overrides the default config if present

ENVIRONMENT
-----------
Expand All @@ -148,6 +148,8 @@ ANSIBLE_HOSTS -- Override the default ansible hosts file

ANSIBLE_LIBRARY -- Override the default ansible module library path

ANSIBLE_CONFIG -- Override the default ansible config file


AUTHOR
------
Expand Down
19 changes: 16 additions & 3 deletions docsite/rst/YAMLSyntax.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ A dictionary is represented in a simple ``key:`` and ``value`` form::

---
# An employee record
name: John Eckersberg
name: Example Developer
job: Developer
skill: Elite

Dictionaries can also be represented in an abbreviated form if you really want to::

---
# An employee record
{name: John Eckersberg, job: Developer, skill: Elite}
{name: Example Developer, job: Developer, skill: Elite}

.. _truthiness:

Expand All @@ -63,7 +63,7 @@ has nothing to do with Ansible, but will give you a feel for the format::

---
# An employee record
name: John Eckersberg
name: Example Developer
job: Developer
skill: Elite
employed: True
Expand All @@ -80,6 +80,19 @@ has nothing to do with Ansible, but will give you a feel for the format::
That's all you really need to know about YAML to get started writing
`Ansible` playbooks.

Gotchas
-------

While YAML is generally friendly, the following is going to be a YAML syntax error:

foo: somebody said I should put a colon here: so I did

You will want to quote any hash values using colons, like so:

foo: "somebody said I should put a colon here: so I did"

And then the colon will be preserved.

.. seealso::

:doc:`playbooks`
Expand Down
35 changes: 29 additions & 6 deletions docsite/rst/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ Advanced programmers may also wish to read the source to ansible itself, for
it uses the Runner() API (with all available options) to implement the
command line tools ``ansible`` and ``ansible-playbook``.

Plugins Repository
------------------
Plugins Available Online
------------------------

The remainder of features in the API docs have components available in `ansible-plugins <https://github.com/ansible/ansible/blob/devel/plugins>`_. Send us a github pull request if you develop any interesting features.

Expand Down Expand Up @@ -279,10 +279,10 @@ To see the complete list of variables available for an instance, run the script
cd examples/scripts
./ec2_external_inventory.py --host ec2-12-12-12-12.compute-1.amazonaws.com

Example: OpenStack
``````````````````
Example: OpenStack Inventory Script
```````````````````````````````````

Though not detailed here in as much depth as the EC2 module, there's also a OpenStack Nova external inventory source in the plugins directory. See the inline comments in the module source.
Though not detailed here in as much depth as the EC2 module, there's also a OpenStack Nova external inventory source in the plugins directory. See the inline comments in the module source for how to use it.

Callback Plugins
----------------
Expand All @@ -293,12 +293,35 @@ system, or even (yes, really) making sound effects. Some examples are contained
Connection Type Plugins
-----------------------

By default, ansible ships with a 'paramiko' SSH, native ssh (just called 'ssh'), and 'local' connection type, which can be used
By default, ansible ships with a 'paramiko' SSH, native ssh (just called 'ssh'), and 'local' connection type. Release 0.8 also
added an accelerated connection type named 'fireball'. All of these can be used
in playbooks and with /usr/bin/ansible to decide how you want to talk to remote machines. The basics of these connection types
are covered in the 'getting started' section. Should you want to extend Ansible to support other transports (SNMP? Message bus?
Carrier Pigeon?) it's as simple as copying the format of one of the existing modules and dropping it into the connection plugins
directory.

Lookup Plugins
--------------

Language constructs like "with_fileglob" are implemnted via lookup plugins. Just like other plugin types, you can write your own.

Distributing Plugins
--------------------

.. versionadded: 0.8

Plugins are loaded from both Python's site_packages (those that ship with ansible) and a configured plugins directory, which defaults
to /usr/share/ansible/plugins, in a subfolder for each plugin type::

* action_plugins
* lookup_plugins
* callback_plugins
* connection_plugins

To change this path, edit the ansible configuration file.

In addition, plugins can be shipped in a subdirectory relative to a top-level playbook, in folders named the same as indicated above.

.. seealso::

:doc:`modules`
Expand Down