Commit graph

2058 commits

Author SHA1 Message Date
Matt Clay
469c4a106b Fix and create code-smell test for line endings. 2016-11-03 14:58:11 -07:00
Matt Clay
0d46805979 Clean up shebangs for various files.
- Remove shebangs from:
  - ini files
  - unit tests
  - module_utils
  - plugins
  - module_docs_fragments
  - non-executable Makefiles
- Change non-modules from '/usr/bin/python' to '/usr/bin/env python'.
- Change '/bin/env' to '/usr/bin/env'.

Also removed main functions from unit tests (since they no longer
have a shebang) and fixed a python 3 compatibility issue with
update_bundled.py so it does not need to specify a python 2 shebang.

A script was added to check for unexpected shebangs in files.
This script is run during CI on Shippable.
2016-11-02 17:00:27 -07:00
Sébastien BARTHÉLÉMY
a4c11ee231 add missing newline in ansible_play_batch doc 2016-11-02 13:39:11 -04:00
Matt Martz
cb1e3dab0d Add 'type' filter for display the underlying python type of a variable (#18242)
* Add 'type' filter for display the underlying python type of a variable

* Update playbooks_filters.rst

Minor copyedit.
2016-10-31 13:36:24 -07:00
René Moser
01af859090 cloudstack: add support for defining some args as ENV vars (#17946)
These ENV vars are:
  - CLOUDSTACK_ZONE
  - CLOUDSTACK_DOMAIN
  - CLOUDSTACK_ACCOUNT
  - CLOUDSTACK_PROJECT

help to DRY on every task, args still have precedence.
2016-10-30 12:24:03 +01:00
amalts
7b02a5a724 docsite: Fix typo (#18250) 2016-10-30 10:26:21 +01:00
Jason McKerr
90b180c815 Update ROADMAP_2_2.rst 2016-10-29 09:36:34 -04:00
David Wittman
d276947a58 Fix typo in Developing Modules doc
Fix pluralization of `ANSIBLE_KEEP_REMOTE_FILES` environment
variable.
2016-10-28 23:58:17 -05:00
Chris Houseknecht
dceb2a0393 Remove extra display statements and add docs (#18229)
* Add docs for ansible-galaxy import --role-name option.

* Add docs for ansible-galaxy init --container-enabled option.
2016-10-28 00:38:39 -04:00
scottb
66d4bb840d Merge pull request #18116 from bcoca/dev_plug_up
updated developing plugins guide
2016-10-27 13:54:06 -07:00
scottb
ba78f02dc5 Update developing_plugins.rst
Editorial pass.
2016-10-27 13:10:13 -07:00
scottb
f38f43df61 Update developing_plugins.rst 2016-10-27 12:57:20 -07:00
scottb
5f14e50c5c Merge pull request #18137 from jglf/jglf-docfix
Small typos, grammar and wording fixes
2016-10-27 12:54:02 -07:00
sevenfourk
fd390cb7b1 Fix typo with 'when when' 2016-10-27 14:11:06 -04:00
scottb
c47d580743 Merge pull request #11075 from initcron/devel
corrected the playbook name from rolling_upgrade.yml to rolling_updat…
2016-10-26 17:37:42 -07:00
scottb
4c9ded9cb7 Merge pull request #18156 from bwlz/docs_environment_examples
Add examples for rbenv and nvm
2016-10-26 13:52:22 -07:00
scottb
d59034ca68 Merge pull request #16201 from jlec/patch-1
Unify space around "="
2016-10-25 18:10:24 -07:00
Scott Butler
edda7a34dd Referenced python 3 support for $18041 2016-10-25 15:27:40 -07:00
Scott Butler
3faf9cce40 Addresses #18041 2016-10-25 15:12:52 -07:00
Toshio Kuratomi
15ed88547f Update roadmap with python3 status and python-3.5 req 2016-10-25 08:24:28 -07:00
Eric Anderson
dd8079776d url for comparisons for more supported examples 2016-10-24 20:27:54 -04:00
Peter Oliver
901d41b840 Template set comparisons are new in version 2.1. 2016-10-24 16:22:28 -04:00
Steve Steiner
931939e2f8 Improve readability, give more info about context 2016-10-24 15:39:40 -04:00
Chris Houseknecht
f4e5f5f2ff Refresh the Galaxy docs (#18101) 2016-10-24 10:59:44 -04:00
Allyson Bowles
b90efeb49c Add examples for rbenv and nvm 2016-10-23 21:39:05 -05:00
Scott Butler
843de98bad Fixed a typo. 2016-10-21 23:57:33 -07:00
Scott Butler
e6397a5943 Wording tweaks 2016-10-21 17:59:05 -07:00
Scott Butler
b6761abafb Edits for PR #18098 2016-10-21 15:20:59 -07:00
Kim
bd4d5112c5 Corrected three small typos in playbooks_loops.rst (#18136) 2016-10-21 09:58:09 -04:00
Julien Le Foll
2db4c22a07 Fixed typo and wording 2016-10-21 14:35:59 +02:00
Julien Le Foll
506ea7625c Fixed grammar 2016-10-21 14:30:11 +02:00
Brian Coca
6bde3f1174 updated devleoping plugins guide 2016-10-19 23:33:57 -04:00
scottb
a85b8888d7 Merge pull request #18096 from dharmabumstead/fix-18092
Fix for #18092; plugin dev docs tweaks
2016-10-19 16:05:33 -07:00
Scott Butler
844a7c8823 Fix for #18092 2016-10-19 15:28:10 -07:00
Matt Davis
29d545a8bc Clarify pywinrm behavior WRT Python versions affected by SSLContext
fixes #16765
2016-10-19 14:26:44 -07:00
Toshio Kuratomi
cfca71ee0c Update the ansible_managed documentation.
* New default (a static string)
* Explanation of all the fields and how they impact idempotence

Fixes #17947
2016-10-18 22:20:03 -07:00
Scott Butler
427ce69645 Continued refurb of dev content 2016-10-18 18:59:47 -07:00
Alex
40cb621f0e Fix styling (#18081) 2016-10-18 14:19:47 +02:00
Will Thames
c661f9f561 Module examples should be in YAML format
Given that Ansible best practices say to use YAML format, our
documentation should not make the excuse that it's too hard,
but rather represent examples in YAML format.

This will allow those using the examples to instantly see
best practices
2016-10-15 16:51:54 -07:00
Bill Nottingham
77e7ae6838 Change <support@ansible.com> - it's being retired. 2016-10-15 16:42:13 -07:00
Toshio Kuratomi
d4f4abfb49 Fix python3 developer docs to build.
A couple small refactors to clarify meaning.
2016-10-14 15:57:57 -07:00
Scott Butler
578170a908 Edits for docs PR #18032 2016-10-14 14:30:00 -07:00
scottb
84021a98b8 Merge pull request #18032 from abadger/python3-porting-update
Update dev_guide with Python3 porting advice.
2016-10-14 13:59:58 -07:00
Toshio Kuratomi
b8765d3d22 Update dev_guide with Python3 porting advice.
Also update the date that Python2.4 support will be dropped to say
Ansible-2.4 will no longer have python-2.4 support.
2016-10-14 12:18:04 -07:00
Bryan Parry
8db725100b Clarify description of fork 2016-10-12 20:49:34 -05:00
Colin Walters
ec06278204 docs: Tweak sentence for interaction of loops + register
The previous version had an extra `during a loop` and the comma broke
the sentence in the middle weirdly.  I think this new version reads
better.
2016-10-11 14:56:42 -04:00
Scott Butler
de58f673ef Reinstating mysteriously truncated hubspot analytics. 2016-10-10 13:10:55 -07:00
Brian Coca
03765ba65e Revert "cloudstack: docs: use local_action, not connection=local" (#17956) 2016-10-10 01:15:02 -04:00
Strahinja Kustudić
6dd07de10b Adds an alternative layout of inventories best practices 2016-10-10 00:57:57 -04:00
René Moser
f50c0a78b2 cloudstack: docs: use local_action, not connection=local (#17951) 2016-10-09 11:49:44 +02:00