David Shrewsbury
c8ee186e11
Remove warning about role validation with deps ( #73653 )
...
* Remove warning about role validation with deps
* add changelog
* update cl
2021-02-18 17:16:03 -06:00
David Shrewsbury
f0ec10dbc3
Role arg spec validation implementation ( #73152 )
...
* Initial import of modified version of alikins' code
* Add unit testing for new Role methods
* Fix validate_arg_spec module for sanity test. Add test_include_role_fails.yml integration test from orig PR.
* Add testing of suboptions
* Use new ArgumentSpecValidator class instead of AnsibleModule
* fix for roles with no tasks, use FQ name of new plugin
* Add role dep warning
2021-02-12 16:00:17 -05:00
Matt Martz
97765f4ebd
Role duplicates docs updates ( #72666 )
...
* Change example to use role params to represent the documented outcome. Fixes #68922
* Add notes about how vars vs role params affect variable scoping, and how lazy evaluation and role-deduplicating is affected. Fixes #72650
* link to term
2020-12-18 11:55:54 -05:00
Badhreesh
a47eafa581
Update playbooks_reuse_roles.rst ( #71880 )
...
Change "vars_files" to "vars, files" under the Roles heading
2020-09-24 13:40:02 -05:00
Andrew Klychkov
7a0a2f188b
Docsite: improve user_guide/playbooks_reuse_roles ( #71857 )
...
* Docsite: improve user_guide/playbooks_reuse_roles
* fix
2020-09-24 13:29:28 -05:00
esmersmith
a34043c6be
Changed all_modules references to list_of_collections in the documentation ( #71656 )
2020-09-09 11:43:40 -05:00
Abhijeet Kasurde
0b16c0a8c7
user_guide: Fix reuse role examples ( #71440 )
...
Fixes : #53919
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-08-25 10:08:17 -04:00
David M. Lee
3e4377300b
Explain duplicate checks includes tags and when ( #68183 )
...
##### SUMMARY
Per #67913 , when comparing dependencies, Ansible takes into account parameters, tags and the when clause in determining whether a role is a duplicate or not.
##### ISSUE TYPE
- Docs Pull Request
+label: docsite_pr
2020-08-21 11:49:43 -04:00
Sayee
4f0bd5de38
a few writing style updates ( #71212 )
2020-08-13 10:53:29 -05:00
Liviu Chircu
cb9336ab6d
Docs: Fix typo ( #71119 )
...
Fix typo
2020-08-06 14:12:33 -05:00
Alicia Cozine
db354c0300
Docs: User guide overhaul, part 5 ( #70307 )
2020-07-14 17:00:44 -04:00
Brian Coca
5d3d097de3
more correct info about role main.yml ( #70326 )
...
fixes #40496
2020-07-01 16:16:21 -04:00
Alicia Cozine
6fffb0607b
WIP: Docs: User guide overhaul, part 4 ( #69266 )
...
Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
2020-05-15 16:18:07 -04:00
Jonas DOREL
29edcdcf5b
Add library in role directory structure ( #67030 )
...
* Add library directory to the list of directories in a role
2020-02-11 14:30:59 -06:00
Sam Doran
c8568a5c94
Add documentation about vars used in roles at the play level ( #66907 )
2020-01-30 11:08:24 -05:00
Alicia Cozine
0b503f6057
Docs: User Guide overhaul, part 3 ( #66371 )
2020-01-21 16:57:55 -05:00
Wojciech Sciesinski
95aef88a45
Update indentation used in the code examples, unify empty lines ( #65346 )
2019-12-10 10:55:51 -05:00
Alicia Cozine
d4f0bc183e
removes last :doc: links in user guide ( #58433 )
...
* removes last :doc: links in user guide
2019-06-26 17:07:27 -04:00
Evgeni Golov
ace38a2646
two indentation fixes in playbooks_reuse_roles.rst ( #51934 )
...
+label: docsite_pr
2019-02-11 14:47:09 -05:00
branen
88029a73d6
Correct docsite typos: it's -> its ( #50812 )
2019-01-11 15:49:54 -05:00
Jonas DOREL
d9ae906772
Add galaxy.html#dependencies link ( #49984 )
...
* Add galaxy.html#dependencies link
+label: docsite_pr
2019-01-03 12:06:10 -05:00
Tim Burke
6e43f9fe8f
Fix ReST formatting for Galaxy docs link ( #49575 )
2018-12-06 11:06:46 -05:00
Andreas Krüger
e2bba149d6
playbooks_reuse_roles.rst long and shorthand example actually made equivalent. ( #48339 )
2018-11-08 08:28:16 -06:00
Brian Coca
44510448b0
prefer ansible_facts namespace and dict notation ( #44980 )
...
* prefer ansible_facts namespace and dict notation
* fixed mistranslation
2018-09-06 10:26:58 -05:00
Ritesh Puj
ff654ccfe8
replaced 'ansible_os_platform' to 'ansible_os_family' ( #44676 )
...
replaced 'ansible_os_platform' to 'ansible_os_family' as 'ansible_os_platform' variable is no longer available.
2018-08-30 15:02:39 -05:00
Andreas Olsson
1a11cecaef
Prefer https:// links in the docs site
...
All the changed urls are availible by way of https://. Most of them
already redirect.
2018-08-01 08:20:40 -07:00
Alexandre Vicenzi
1dafd92c8e
Fix Ansible Galaxy documentation link. ( #42316 )
...
More info: https://github.com/ansible/galaxy/issues/830
2018-07-04 09:52:47 -07:00
Greg DeKoenigsberg
e5ccdaec88
Better Galaxy description for role reuse ( #40557 )
...
* Better Galaxy description for role reuse
* update per gundalow review
2018-05-24 22:47:03 -05:00
Brian Coca
c62551c1b0
Update role doc examples ( #37844 )
...
* fix role examples
- also fixed issue with overload of 'name', fixes #37836
- attempted to clarify tag inheritance/application
* Typo fix
2018-04-05 11:41:25 -07:00
scottb
381359a8f8
Doc build warning/broken link clean-a-palooza ( #37382 )
...
* Doc build warning/broken link clean-a-palooza, WIP commit 1.
* Fixed broken anchor
* Fixing additional broken links; converting from doc to ref.
* Fix anchor
2018-03-14 12:44:21 -07:00
scottb
373b1dcf59
Core Docs Refactor and Redesign ( #36067 )
...
* Docs refactor as outlined in https://github.com/ansible/proposals/issues/79 . Moves content into 'guides'; refactors TOC; fixes CSS; design tweaks to layout and CSS; fixes generated plugin, CLI and module docs to fix links accodingly; more.
* Adding extra blank line for shippable
2018-02-13 07:23:55 -08:00