community.general icon indicating copy to clipboard operation
community.general copied to clipboard

Extends ModuleHelper with destinations files processing features.

Open indelog opened this issue 2 years ago • 11 comments

This follows my first PR #4686 that attempt to add new module to managage content in JSON, YAML and TOML file on managed node.

This is the part that extends ModuleHelper by adding some features that help to quickly write and maintain modules that work with a destination file. It implements most common tasks that can be done in a standard way (do some checks on the destination file, handle creation allowing, set fs attributes and do backup).

In common case, the only things that you need to do in you module is implementing the method __process_data__.

The logic that this helper implements can be summarised by these step :

  1. __read_dest__
  2. __process_data__
  3. __update_dest__

indelog avatar Jul 01 '22 16:07 indelog

cc @russoz click here for bot help

ansibullbot avatar Jul 01 '22 16:07 ansibullbot

The test ansible-test sanity --test pylint [explain] failed with 4 errors:

plugins/module_utils/mh/mixins/dest.py:75:17: syntax-error: expected an indented block after function definition on line 52 (<unknown>, line 75)
plugins/module_utils/mh/module_helper.py:17:0: syntax-error: Cannot import 'ansible_collections.community.general.plugins.module_utils.mh.mixins.dest' due to syntax error 'expected an indented block after function definition on line 52 (<unknown>, line 75)'
plugins/module_utils/module_helper.py:16:0: syntax-error: Cannot import 'ansible_collections.community.general.plugins.module_utils.mh.mixins.dest' due to syntax error 'expected an indented block after function definition on line 52 (<unknown>, line 75)'
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:14:0: syntax-error: Cannot import 'ansible_collections.community.general.plugins.module_utils.mh.mixins.dest' due to syntax error 'expected an indented block after function definition on line 52 (<unknown>, line 75)'

The test ansible-test sanity --test pylint [explain] failed with 4 errors:

plugins/module_utils/mh/mixins/dest.py:75:17: syntax-error: expected an indented block after function definition on line 52 (<unknown>, line 75)
plugins/module_utils/mh/module_helper.py:17:0: syntax-error: Cannot import 'ansible_collections.community.general.plugins.module_utils.mh.mixins.dest' due to syntax error 'expected an indented block after function definition on line 52 (<unknown>, line 75)'
plugins/module_utils/module_helper.py:16:0: syntax-error: Cannot import 'ansible_collections.community.general.plugins.module_utils.mh.mixins.dest' due to syntax error 'expected an indented block after function definition on line 52 (<unknown>, line 75)'
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:14:0: syntax-error: Cannot import 'ansible_collections.community.general.plugins.module_utils.mh.mixins.dest' due to syntax error 'expected an indented block after function definition on line 52 (<unknown>, line 75)'

The test ansible-test sanity --test pylint [explain] failed with 4 errors:

plugins/module_utils/mh/mixins/dest.py:75:17: syntax-error: invalid syntax (<unknown>, line 75)
plugins/module_utils/mh/module_helper.py:17:0: syntax-error: Cannot import 'ansible_collections.community.general.plugins.module_utils.mh.mixins.dest' due to syntax error 'invalid syntax (<unknown>, line 75)'
plugins/module_utils/module_helper.py:16:0: syntax-error: Cannot import 'ansible_collections.community.general.plugins.module_utils.mh.mixins.dest' due to syntax error 'invalid syntax (<unknown>, line 75)'
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:14:0: syntax-error: Cannot import 'ansible_collections.community.general.plugins.module_utils.mh.mixins.dest' due to syntax error 'invalid syntax (<unknown>, line 75)'

click here for bot help

ansibullbot avatar Jul 01 '22 16:07 ansibullbot

Hi @indelog , thanks for following up on this idea. I glanced over it already, looking much better! I will make a more thorough review in the next days.

russoz avatar Jul 01 '22 21:07 russoz

@russoz Thanks. I will try to do some fix to get test works.

Normally some tests are ignored on some systems that can not run correctly su command (it's needed to create some specific conditions to test some behaviour when the destination file or its parent will not in an expected state), but the manner that I do this it is a bit tricky... Problems seem to come from that, I need to find another way.

indelog avatar Jul 02 '22 09:07 indelog

Out of curiosity: why not use add_file_common_args=true (https://github.com/ansible/ansible/blob/devel/lib/ansible/module_utils/basic.py#L438)?

felixfontein avatar Jul 03 '22 11:07 felixfontein

The test ansible-test sanity --test pep8 [explain] failed with 1 error:

plugins/module_utils/mh/mixins/dest.py:23:1: E302: expected 2 blank lines, found 1

The test ansible-test sanity --test pep8 [explain] failed with 1 error:

plugins/module_utils/mh/mixins/dest.py:23:1: E302: expected 2 blank lines, found 1

The test ansible-test sanity --test pep8 [explain] failed with 1 error:

plugins/module_utils/mh/mixins/dest.py:23:1: E302: expected 2 blank lines, found 1

The test ansible-test sanity --test pep8 [explain] failed with 1 error:

plugins/module_utils/mh/mixins/dest.py:23:1: E302: expected 2 blank lines, found 1

click here for bot help

ansibullbot avatar Jul 12 '22 16:07 ansibullbot

The test ansible-test sanity --test pep8 [explain] failed with 1 error:

plugins/module_utils/mh/mixins/dest.py:27:1: E302: expected 2 blank lines, found 1

The test ansible-test sanity --test pep8 [explain] failed with 1 error:

plugins/module_utils/mh/mixins/dest.py:27:1: E302: expected 2 blank lines, found 1

The test ansible-test sanity --test pep8 [explain] failed with 1 error:

plugins/module_utils/mh/mixins/dest.py:27:1: E302: expected 2 blank lines, found 1

The test ansible-test sanity --test pep8 [explain] failed with 1 error:

plugins/module_utils/mh/mixins/dest.py:27:1: E302: expected 2 blank lines, found 1

click here for bot help

ansibullbot avatar Jul 13 '22 14:07 ansibullbot

The test licenses failed with 22 errors:

tests/unit/plugins/module_utils/test_dest_file_module_helper.py:0:0: found copyright line with "Copyright:". Please remove the colon.
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:0:0: found no copyright notice
tests/integration/targets/module_helper/tasks/msdestfile.yml:0:0: SPDX-License-Identifier yielded the license list (empty), while manual guessing yielded the license list "GPL-3.0-or-later"
tests/integration/targets/module_helper/tasks/msdestfile.yml:0:0: found no copyright notice
tests/integration/targets/module_helper/tasks/msdestfile.yml:0:0: must have at least one license
tests/integration/targets/module_helper/tasks/msdestfile-run.yml:0:0: SPDX-License-Identifier yielded the license list (empty), while manual guessing yielded the license list "GPL-3.0-or-later"
tests/integration/targets/module_helper/tasks/msdestfile-run.yml:0:0: found no copyright notice
tests/integration/targets/module_helper/tasks/msdestfile-run.yml:0:0: must have at least one license
tests/integration/targets/module_helper/meta/main.yml:0:0: found no copyright notice
tests/integration/targets/module_helper/meta/main.yml:0:0: must have at least one license
tests/integration/targets/module_helper/library/mdestfile.py:0:0: found copyright line with "Copyright:". Please remove the colon.
tests/integration/targets/module_helper/library/mdestfile.py:0:0: found no copyright notice
tests/integration/targets/module_helper/vars/main.yml:0:0: found no copyright notice
tests/integration/targets/module_helper/vars/main.yml:0:0: must have at least one license
plugins/doc_fragments/dest_file_module.py:0:0: found copyright line with "Copyright:". Please remove the colon.
plugins/doc_fragments/dest_file_module.py:0:0: SPDX-License-Identifier yielded the license list (empty), while manual guessing yielded the license list "GPL-3.0-or-later"
plugins/doc_fragments/dest_file_module.py:0:0: found no copyright notice
plugins/doc_fragments/dest_file_module.py:0:0: must have at least one license
plugins/module_utils/mh/mixins/dest.py:0:0: found copyright line with "Copyright:". Please remove the colon.
plugins/module_utils/mh/mixins/dest.py:0:0: SPDX-License-Identifier yielded the license list (empty), while manual guessing yielded the license list "GPL-3.0-or-later"
plugins/module_utils/mh/mixins/dest.py:0:0: found no copyright notice
plugins/module_utils/mh/mixins/dest.py:0:0: must have at least one license

The test ansible-test sanity --test pep8 [explain] failed with 18 errors:

tests/unit/plugins/module_utils/test_dest_file_module_helper.py:362:11: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:392:11: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:393:11: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:394:11: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:395:11: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:396:11: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:412:11: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:429:11: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:430:11: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:443:11: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:467:19: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:469:19: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:491:15: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:493:15: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:494:15: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:495:11: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:514:11: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:541:11: E275: missing whitespace after keyword

click here for bot help

ansibullbot avatar Sep 18 '22 20:09 ansibullbot

The test licenses failed with 17 errors:

tests/unit/plugins/module_utils/test_dest_file_module_helper.py:0:0: found no copyright notice
tests/integration/targets/module_helper/tasks/msdestfile.yml:0:0: SPDX-License-Identifier yielded the license list (empty), while manual guessing yielded the license list "GPL-3.0-or-later"
tests/integration/targets/module_helper/tasks/msdestfile.yml:0:0: found no copyright notice
tests/integration/targets/module_helper/tasks/msdestfile.yml:0:0: must have at least one license
tests/integration/targets/module_helper/tasks/msdestfile-run.yml:0:0: SPDX-License-Identifier yielded the license list (empty), while manual guessing yielded the license list "GPL-3.0-or-later"
tests/integration/targets/module_helper/tasks/msdestfile-run.yml:0:0: found no copyright notice
tests/integration/targets/module_helper/tasks/msdestfile-run.yml:0:0: must have at least one license
tests/integration/targets/module_helper/meta/main.yml:0:0: found no copyright notice
tests/integration/targets/module_helper/meta/main.yml:0:0: must have at least one license
tests/integration/targets/module_helper/library/mdestfile.py:0:0: found no copyright notice
tests/integration/targets/module_helper/vars/main.yml:0:0: found no copyright notice
tests/integration/targets/module_helper/vars/main.yml:0:0: must have at least one license
plugins/doc_fragments/dest_file_module.py:0:0: found copyright line with "Copyright:". Please remove the colon.
plugins/doc_fragments/dest_file_module.py:0:0: SPDX-License-Identifier yielded the license list (empty), while manual guessing yielded the license list "GPL-3.0-or-later"
plugins/doc_fragments/dest_file_module.py:0:0: found no copyright notice
plugins/doc_fragments/dest_file_module.py:0:0: must have at least one license
plugins/module_utils/mh/mixins/dest.py:0:0: found no copyright notice

The test ansible-test sanity --test pep8 [explain] failed with 18 errors:

tests/unit/plugins/module_utils/test_dest_file_module_helper.py:362:11: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:392:11: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:393:11: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:394:11: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:395:11: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:396:11: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:412:11: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:429:11: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:430:11: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:443:11: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:467:19: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:469:19: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:491:15: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:493:15: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:494:15: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:495:11: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:514:11: E275: missing whitespace after keyword
tests/unit/plugins/module_utils/test_dest_file_module_helper.py:541:11: E275: missing whitespace after keyword

click here for bot help

ansibullbot avatar Sep 19 '22 20:09 ansibullbot

The test licenses failed with 4 errors:

tests/integration/targets/module_helper/tasks/msdestfile.yml:0:0: SPDX-License-Identifier yielded the license list (empty), while manual guessing yielded the license list "GPL-3.0-or-later"
tests/integration/targets/module_helper/tasks/msdestfile.yml:0:0: found no copyright notice
tests/integration/targets/module_helper/tasks/msdestfile.yml:0:0: must have at least one license
tests/integration/targets/module_helper/library/mdestfile.py:0:0: found no copyright notice

click here for bot help

ansibullbot avatar Sep 25 '22 14:09 ansibullbot

Docs Build 📝

Thank you for contribution!✨

The docsite for this PR is available for download as an artifact from this run: https://github.com/ansible-collections/community.general/actions/runs/3123491565

File changes:

  • M collections/community/general/netcup_dns_module.html
  • M collections/community/general/redfish_config_module.html
Click to see the diff comparison.

NOTE: only file modifications are shown here. New and deleted files are excluded. See the file list and check the published docs to see those files.

diff --git a/home/runner/work/community.general/community.general/docsbuild/base/collections/community/general/netcup_dns_module.html b/home/runner/work/community.general/community.general/docsbuild/head/collections/community/general/netcup_dns_module.html
index 4bc8a9c..57589a6 100644
--- a/home/runner/work/community.general/community.general/docsbuild/base/collections/community/general/netcup_dns_module.html
+++ b/home/runner/work/community.general/community.general/docsbuild/head/collections/community/general/netcup_dns_module.html
@@ -242,6 +242,15 @@ see <a class="reference internal" href="#ansible-collections-community-general-n
 </div></td>
 </tr>
 <tr class="row-even"><td><div class="ansible-option-cell">
+<div class="ansibleOptionAnchor" id="parameter-timeout"></div><p class="ansible-option-title" id="ansible-collections-community-general-netcup-dns-module-parameter-timeout"><strong>timeout</strong></p>
+<a class="ansibleOptionLink" href="#parameter-timeout" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">integer</span></p>
+<p><span class="ansible-option-versionadded">added in community.general 5.7.0</span></p>
+</div></td>
+<td><div class="ansible-option-cell"><p>HTTP(S) connection timeout in seconds.</p>
+<p class="ansible-option-line"><span class="ansible-option-default-bold">Default:</span> <span class="ansible-option-default">5</span></p>
+</div></td>
+</tr>
+<tr class="row-odd"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-type"></div><p class="ansible-option-title" id="ansible-collections-community-general-netcup-dns-module-parameter-type"><strong>type</strong></p>
 <a class="ansibleOptionLink" href="#parameter-type" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">string</span> / <span class="ansible-option-required">required</span></p>
 </div></td>
@@ -261,7 +270,7 @@ see <a class="reference internal" href="#ansible-collections-community-general-n
 </ul>
 </div></td>
 </tr>
-<tr class="row-odd"><td><div class="ansible-option-cell">
+<tr class="row-even"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-value"></div><p class="ansible-option-title" id="ansible-collections-community-general-netcup-dns-module-parameter-value"><strong>value</strong></p>
 <a class="ansibleOptionLink" href="#parameter-value" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">string</span> / <span class="ansible-option-required">required</span></p>
 </div></td>
@@ -323,6 +332,17 @@ see <a class="reference internal" href="#ansible-collections-community-general-n
 <span class="w">    </span><span class="nt">type</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;AAAA&quot;</span><span class="w"></span>
 <span class="w">    </span><span class="nt">value</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;::1&quot;</span><span class="w"></span>
 <span class="w">    </span><span class="nt">solo</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">true</span><span class="w"></span>
+
+<span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Increase the connection timeout to avoid problems with an unstable connection</span><span class="w"></span>
+<span class="w">  </span><span class="nt">community.general.netcup_dns</span><span class="p">:</span><span class="w"></span>
+<span class="w">    </span><span class="nt">api_key</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;...&quot;</span><span class="w"></span>
+<span class="w">    </span><span class="nt">api_password</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;...&quot;</span><span class="w"></span>
+<span class="w">    </span><span class="nt">customer_id</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;...&quot;</span><span class="w"></span>
+<span class="w">    </span><span class="nt">domain</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;example.com&quot;</span><span class="w"></span>
+<span class="w">    </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;mail&quot;</span><span class="w"></span>
+<span class="w">    </span><span class="nt">type</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;A&quot;</span><span class="w"></span>
+<span class="w">    </span><span class="nt">value</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;127.0.0.1&quot;</span><span class="w"></span>
+<span class="w">    </span><span class="nt">timeout</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">30</span><span class="w"></span>
 </pre></div>
 </div>
 </section>
diff --git a/home/runner/work/community.general/community.general/docsbuild/base/collections/community/general/redfish_config_module.html b/home/runner/work/community.general/community.general/docsbuild/head/collections/community/general/redfish_config_module.html
index 6bba76f..4c4401e 100644
--- a/home/runner/work/community.general/community.general/docsbuild/base/collections/community/general/redfish_config_module.html
+++ b/home/runner/work/community.general/community.general/docsbuild/head/collections/community/general/redfish_config_module.html
@@ -267,6 +267,14 @@
 </div></td>
 </tr>
 <tr class="row-odd"><td><div class="ansible-option-cell">
+<div class="ansibleOptionAnchor" id="parameter-sessions_config"></div><p class="ansible-option-title" id="ansible-collections-community-general-redfish-config-module-parameter-sessions-config"><strong>sessions_config</strong></p>
+<a class="ansibleOptionLink" href="#parameter-sessions_config" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">dictionary</span></p>
+<p><span class="ansible-option-versionadded">added in community.general 5.7.0</span></p>
+</div></td>
+<td><div class="ansible-option-cell"><p>Setting dict of Sessions.</p>
+</div></td>
+</tr>
+<tr class="row-even"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-strip_etag_quotes"></div><p class="ansible-option-title" id="ansible-collections-community-general-redfish-config-module-parameter-strip-etag-quotes"><strong>strip_etag_quotes</strong></p>
 <a class="ansibleOptionLink" href="#parameter-strip_etag_quotes" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">boolean</span></p>
 <p><span class="ansible-option-versionadded">added in community.general 3.7.0</span></p>
@@ -280,7 +288,7 @@
 </ul>
 </div></td>
 </tr>
-<tr class="row-even"><td><div class="ansible-option-cell">
+<tr class="row-odd"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-timeout"></div><p class="ansible-option-title" id="ansible-collections-community-general-redfish-config-module-parameter-timeout"><strong>timeout</strong></p>
 <a class="ansibleOptionLink" href="#parameter-timeout" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">integer</span></p>
 </div></td>
@@ -288,7 +296,7 @@
 <p class="ansible-option-line"><span class="ansible-option-default-bold">Default:</span> <span class="ansible-option-default">10</span></p>
 </div></td>
 </tr>
-<tr class="row-odd"><td><div class="ansible-option-cell">
+<tr class="row-even"><td><div class="ansible-option-cell">
 <div class="ansibleOptionAnchor" id="parameter-username"></div><p class="ansible-option-title" id="ansible-collections-community-general-redfish-config-module-parameter-username"><strong>username</strong></p>
 <a class="ansibleOptionLink" href="#parameter-username" title="Permalink to this option"></a><p class="ansible-option-type-line"><span class="ansible-option-type">string</span></p>
 </div></td>
@@ -417,6 +425,16 @@
 <span class="w">    </span><span class="nt">baseuri</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;</span><span class="cp">{{</span> <span class="nv">baseuri</span> <span class="cp">}}</span><span class="s">&quot;</span><span class="w"></span>
 <span class="w">    </span><span class="nt">username</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;</span><span class="cp">{{</span> <span class="nv">username</span> <span class="cp">}}</span><span class="s">&quot;</span><span class="w"></span>
 <span class="w">    </span><span class="nt">password</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;</span><span class="cp">{{</span> <span class="nv">password</span> <span class="cp">}}</span><span class="s">&quot;</span><span class="w"></span>
+
+<span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">name</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Set SessionService Session Timeout to 30 minutes</span><span class="w"></span>
+<span class="w">  </span><span class="nt">community.general.redfish_config</span><span class="p">:</span><span class="w"></span>
+<span class="w">    </span><span class="nt">category</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">Sessions</span><span class="w"></span>
+<span class="w">    </span><span class="nt">command</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">SetSessionService</span><span class="w"></span>
+<span class="w">    </span><span class="nt">sessions_config</span><span class="p">:</span><span class="w"></span>
+<span class="w">      </span><span class="nt">SessionTimeout</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">1800</span><span class="w"></span>
+<span class="w">    </span><span class="nt">baseuri</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;</span><span class="cp">{{</span> <span class="nv">baseuri</span> <span class="cp">}}</span><span class="s">&quot;</span><span class="w"></span>
+<span class="w">    </span><span class="nt">username</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;</span><span class="cp">{{</span> <span class="nv">username</span> <span class="cp">}}</span><span class="s">&quot;</span><span class="w"></span>
+<span class="w">    </span><span class="nt">password</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;</span><span class="cp">{{</span> <span class="nv">password</span> <span class="cp">}}</span><span class="s">&quot;</span><span class="w"></span>
 </pre></div>
 </div>
 </section>

github-actions[bot] avatar Sep 25 '22 20:09 github-actions[bot]

needs_info

felixfontein avatar May 10 '23 05:05 felixfontein

@indelog This pullrequest is waiting for your response. Please respond or the pullrequest will be closed.

click here for bot help

ansibullbot avatar Jun 11 '23 06:06 ansibullbot

@indelog You have not responded to information requests in this pullrequest so we will assume it no longer affects you. If you are still interested in this, please create a new pullrequest with the requested information.

click here for bot help

ansibullbot avatar Jul 13 '23 06:07 ansibullbot