a9dd33a8c1
Add CLI command that allows to generate and manually customize the default ansible configuration used with UC/standalone deployments. Use the config generator from tripleo common ansible actions for that. If there is no pre-created user's ansible.cfg in --output-dir, generate the default one with as a part of the deployment command. Depends-On: Ie7dd9039ee74aac046679e831ffda143257e3825 Change-Id: I695916e9271392127635834078e57655857182f1 Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
18 lines
682 B
YAML
18 lines
682 B
YAML
---
|
|
features:
|
|
- |
|
|
``tripleo config generate ansible`` generates the default ``ansible.cfg``
|
|
in the given ``--output-dir`` (defaults to `$HOME`). The remote user
|
|
setting for ansible will be set to the ``--deployment-user`` value
|
|
(defaults to 'stack').
|
|
|
|
.. note:: Do not confuse the generated config with ``~/.ansible.cfg``.
|
|
The latter takes the lower precedence.
|
|
|
|
You may want to customize the generated config so it will be used
|
|
with all undercloud and standalone deployments.
|
|
|
|
.. note:: Overcloud deployments use Mistral workflows to configure ansible
|
|
for its own use, but the basic configuration it takes looks very
|
|
similar.
|