Commit Graph

30 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov ca25191181 [doc] Document limitation and workaround for variables in mapping keys
Related-Bug: #2048036
Change-Id: Iadaab9c1d9af63bb32a2f9f6977b08fa7f643165
2024-01-04 13:45:34 +01:00
Elod Illes 04e621b5bd Fix releasenotes build
When building releasenotes (with 'tox -e releasenotes') the job fails
with the following error:

WARNING: Invalid configuration value found: 'language = None'. Update
your configuration to a valid language code. Falling back to 'en'
(English).

This caused publish-openstack-releasenotes-python3 post release job
failure as well. By removing the explicit set of language of None makes
the sphinx warning disappear.

Change-Id: I2482824f78901e14781bde49674bde4a9fd431ec
2023-11-13 16:56:52 +01:00
Dmitriy Rabotyagov e528ed0e9e Fix usage of {% raw %} tags and Jinja2 headers
At the moment we do resolve template 2 times for some historical reasons

This leads to {% raw %} tag as well as any other content be not respected
on the second renderring, since after the first one these tags
are gone, so no escaping or whatsoever work.

At the same time there're no obvious reasons to render second time,
since all override content is being renderred already. So there should
not be anything left that indeed needs this second run.

Change-Id: I414b1b3b4e426316707dda23b9aeff6b6f4f7c2f
Closes-Bug: #1649381
2023-05-01 11:17:53 +02:00
Marcus Klein 2ccc59fa13 document the removal of keys in ini files
which requires an empty dictionary in playbook YAML config_overrides
parameter

Change-Id: I3ab9c434883e743738b3e06d54c3c54c84bc7217
2022-09-28 15:18:41 +02:00
Dmitriy Rabotyagov 29ddca2734 Update documentation about installation methods
config_template historically was published on PyPi during times before
collections were a thing. This was one of the installations methods
that is not relevant or preffered since collections are here.

That patch aims to update documentation about ways of plugin
installation as well as adding deprecation notice of PyPi.

In the futher releases we will drop publishing on PyPi.

Change-Id: Ie1cd7b305b4d82fd0fbf4568ef20ff3d0236c049
2022-06-23 12:16:24 +02:00
Jesse Pretorius (odyssey4me) 17330e7558 Add more complete examples with sample output
The existing examples from code are not sufficient to explain
how the various features of the module can be used. This patch
hopes to add more practical examples to show some of the
features.

Hopefully this also sets a trend so that more examples are added
in the future.

Change-Id: I035ce06a2391904724aaf8b0a724d7b4fa8e27f0
2022-06-20 13:32:29 +01:00
OpenStack Proposal Bot 91878d728e Updated from OpenStack Ansible Tests
Change-Id: Idf722b51803f77dfedbf4c066a0e26a5bae37f50
2020-06-03 19:12:22 +00:00
Andreas Jaeger 436042ee87 Update docstheme for style
New version of openstackdocstheme (Victoria+) respects pygments_style.
Since this repo is using now Victoria (master) requirements but has
not branched for Ussuri yet, it uses the new version.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

Change-Id: I65491a951bee4fbdc15206de98b35cd569508bd7
2020-05-20 16:45:12 +00:00
OpenStack Proposal Bot 42ba64ec70 Updated from OpenStack Ansible Tests
Change-Id: I2fdf310999505eb8dde3942b4923c668848a1e4f
2020-05-12 18:05:52 +00:00
OpenStack Proposal Bot 759a47bd9f Updated from OpenStack Ansible Tests
Change-Id: I62d3b9fea06044856bbb3c9269214a7807b22244
2020-05-05 20:32:56 +03:00
OpenStack Proposal Bot ff61269489 Updated from OpenStack Ansible Tests
Change-Id: Id17a659fa2a97ea54ff6a6f05dd4f2e388cd779c
2019-11-21 16:37:19 +00:00
Dmitriy Rabotyagov faf60ddb53 PDF Documentation Build tox target
This patch adds a `pdf-docs` tox target that will build
PDF versions of our docs. As per the Train community goal:

  https://governance.openstack.org/tc/goals/selected/train/pdf-doc-generation.html

Add sphinxcontrib-svg2pdfconverter to doc/requirements.txt
to convert our SVGs.

Change-Id: Ib0fc3cabe19771c3f569d22c8b09aa456f4caf6e
Story: 2006105
2019-10-15 20:29:11 +00:00
pengyuesheng a29fd92c4b Sync Sphinx requirement
Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.

Change-Id: I0ec7c3b10e318388288edb59c45f323834315086
2019-07-31 17:23:54 +08:00
Andy McCrae 2c6ebef2a4 Fix pep8 for config_template.py
Gate tests will fail until we fix pep8 for config_template.py
This PR fixes the config_template module for pep8 compliance,
follows the latest PTI for docs compliance,
and re-enables the linters.

Change-Id: Ic288b462a53ac45983f47f29a7d5d8d48d0b9c0b
Co-Authored-By: Jean-Philippe Evrard <jean-philippe@evrard.me>
2018-03-26 12:53:57 +00:00
Jean-Philippe Evrard 708d867a70 Cleanup config_template repo
To upstream config_template as a separate plugin, we need to
cleanup the openstack-ansible-plugisn repo. This way it can
be included as standalone.
2018-02-26 14:42:49 +00:00
Jean-Philippe Evrard 6743087df3 Remove virtualenv-tools in the examples.
We shouldn't use virtualenv-tools, and it shouldn't appear
in our documentation.

Change-Id: I7f29d8b150d1f312422110936d7cf22e0f9cba81
Partial-Bug: #1741634
2018-01-15 14:21:00 +00:00
Jean-Philippe Evrard ead9047761 Initial OSA zuul v3 role jobs
This patch implements an initial set of jobs intended to match
the current job execution method. It does not intend to improve
how the jobs are executed - only to replicate what is currently
in openstack-infra/openstack-zuul-jobs and provide the platform
to iterate on.

Change-Id: Id5a41c4f09bfc63b373e83493dd85a53850bd71c
2017-10-17 20:43:54 +00:00
Major Hayden bfc26ac698
Remove debug_message_collector plugin
Now that we have ARA, this plugin isn't that useful any longer.

Closes-Bug: 1715996
Change-Id: Idcbf06a0c1df0f4a485da298dd0f4dd95311463b
2017-09-08 12:46:52 -05:00
ZhongShengping 38a7c29364 Fix openstackdocstheme settings
To use openstackdocstheme 1.11.0 properly, this patch fixes
some settings according to follow[0].

[0]https://docs.openstack.org/openstackdocstheme/latest/

Change-Id: I39e4ca8729a68786c950ade684ca3e5edaa68cca
2017-07-03 16:48:23 +08:00
Jimmy McCrory a5d669f0b4 Remove neutron library
As of Ansible 2.3, the os_network module now allows more additional
options for 'provider_network_type'[0]. Use of OSA's neutron plugin can
be removed.

[0] https://github.com/ansible/ansible-modules-core/issues/5589

Change-Id: If74185ecca1ea639c2e1526b5542e89dd533084b
Implements: blueprint use-std-ansible-modules
2017-05-24 23:00:42 +00:00
Jimmy McCrory 5202eb38dd [DOCS] Add docs for plugins
Add basic information and examples for the action, callback, filter, and
lookup plugins provided by this repo.

Partial-Bug: 1579091
Change-Id: If7cea759bb790c6f6d266eff560ac7a67309219d
2017-02-16 03:44:24 -08:00
ji-xuepeng 9dacd3ae93 Use https instead of http for git.openstack.org
Trivialfix

Change-Id: I48c3a762481f5c3187a6153ba71cc47430da1be3
2017-02-06 22:10:16 +08:00
gecong1973 1325a99cee Delete unnecessary utf-8 coding
The file was added redundant utf-8 coding by some editor.
we can delete it .

Change-Id: Iac814d97c435b5620ecb2c333218e044255f4bb8
2016-12-27 10:22:00 +08:00
Logan V 800ef36999 Revert "Remove neutron library"
Using the upstream library breaks the ability to test network plugins
that use 'local' neutron networks (ie. calico).

https://github.com/ansible/ansible-modules-core/issues/5589

This reverts commit 38b899b63b.

Change-Id: I8a33db524c24324dc2af8463a43cb145f7cc34d6
2016-11-12 17:12:48 -06:00
Jimmy McCrory 0af898835a Remove glance library
With the use of this library replaced by upstream Ansible modules it's
no longer necessary to carry it.

Closes-Bug: 1538642

Change-Id: I55591132180eec99ce9b9bc38caa996b01d18949
Depends-On: Ic98613c37069ccb2ec1bc9a7644c922cc5b37e22
Depends-On: I017303e9a731ebc60315ea1784ba184a8294b08e
Depends-On: If0e36c61307056c8786c67b60fd56b03f2ad7bda
2016-11-11 09:19:45 -08:00
Jimmy McCrory 38b899b63b Remove neutron library
With the use of this library replaced by upstream Ansible modules it's
no longer necessary to carry it.

Change-Id: Iedc9c18a457eb2b620538c693337860b80a85123
Depends-On: I8c165531407c6b6aa8e5910cb28ae610b53e2ee5
2016-11-04 10:45:56 -07:00
Nish Patwa ea0888e866 [DOCS] Added release-name as a watermark to Docs.
Added a water mark to the role documentation
to make clear to deployers which release they're
working with.

Modified conf.py that adds watermark to the documentation according
to particular branch. If the current branch is master than
watermark is 'Pre-release' and if the current branch is
stable/<release-name> than watermark is <release-name>.

This is a combined implementation based on the following
patches:
- https://review.openstack.org/372565
- https://review.openstack.org/382637
- https://review.openstack.org/384140

Change-Id: I68bf027f41b906d4f1673bd4b993ef59767e70db
2016-10-19 15:01:16 +00:00
Alexandra 388dfe10e4 [DOCS] Updating plugin role docs
Change-Id: Ie78e1d7fd78e7235c12693b013b12e14caf01eef
2016-08-12 08:04:17 -05:00
Travis Truman bbe2748658 [DOCS] Cleanup the role docs for consistency and clarity
Change-Id: Iac7740b161162bcc1a70053273f8e4ffc60f610c
2016-03-07 17:38:19 -05:00
Kevin Carter 2c9c5f005b
first commit
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-01-25 18:07:53 -06:00