-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nmcli: fixed idempotency issue with 'may_fail4' when 'method' is 'disabled' #6106
nmcli: fixed idempotency issue with 'may_fail4' when 'method' is 'disabled' #6106
Conversation
…abled' * added note to documentation
Docs Build 📝Thank you for contribution!✨ The docsite for this PR is available for download as an artifact from this run: File changes:
Click to see the diff comparison.NOTE: only file modifications are shown here. New and deleted files are excluded. diff --git a/home/runner/work/community.general/community.general/docsbuild/base/collections/community/general/nmcli_module.html b/home/runner/work/community.general/community.general/docsbuild/head/collections/community/general/nmcli_module.html
index 967b91b..050f2be 100644
--- a/home/runner/work/community.general/community.general/docsbuild/base/collections/community/general/nmcli_module.html
+++ b/home/runner/work/community.general/community.general/docsbuild/head/collections/community/general/nmcli_module.html
@@ -675,6 +675,7 @@ see <a class="reference internal" href="#ansible-collections-community-general-n
<p><span class="ansible-option-versionadded">added in community.general 3.3.0</span></p>
</div></td>
<td><div class="ansible-option-cell"><p>If you need <em>ip4</em> configured before <code class="docutils literal notranslate"><span class="pre">network-online.target</span></code> is reached, set this option to <code class="docutils literal notranslate"><span class="pre">false</span></code>.</p>
+<p>This option applies when <code class="docutils literal notranslate"><span class="pre">method4</span></code> is not <code class="docutils literal notranslate"><span class="pre">disabled</span></code>.</p>
<p class="ansible-option-line"><span class="ansible-option-choices">Choices:</span></p>
<ul class="simple">
<li><p><code class="ansible-option-choices-entry docutils literal notranslate"><span class="pre">false</span></code></p></li>
|
changelogs/fragments/6106-nmcli-ipv4-mayfail-idempotency-fix.yml
Outdated
Show resolved
Hide resolved
If nobody objects, I'll merge this this weekend as well. |
Backport to stable-5: 💚 backport PR created✅ Backport PR branch: Backported as #6240 🤖 @patchback |
@heaveaxy thanks for your contribution! |
…abled' (#6106) * nmcli: fixed idempotency issue with 'may_fail4' when 'method' is 'disabled' * added note to documentation * updated changelog fragment * Update changelog fragment. --------- Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit 5ee6870)
Backport to stable-6: 💚 backport PR created✅ Backport PR branch: Backported as #6241 🤖 @patchback |
…abled' (#6106) * nmcli: fixed idempotency issue with 'may_fail4' when 'method' is 'disabled' * added note to documentation * updated changelog fragment * Update changelog fragment. --------- Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit 5ee6870)
… with 'may_fail4' when 'method' is 'disabled' (#6241) nmcli: fixed idempotency issue with 'may_fail4' when 'method' is 'disabled' (#6106) * nmcli: fixed idempotency issue with 'may_fail4' when 'method' is 'disabled' * added note to documentation * updated changelog fragment * Update changelog fragment. --------- Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit 5ee6870) Co-authored-by: Sam Potekhin <[email protected]>
… with 'may_fail4' when 'method' is 'disabled' (#6240) nmcli: fixed idempotency issue with 'may_fail4' when 'method' is 'disabled' (#6106) * nmcli: fixed idempotency issue with 'may_fail4' when 'method' is 'disabled' * added note to documentation * updated changelog fragment * Update changelog fragment. --------- Co-authored-by: Felix Fontein <[email protected]> (cherry picked from commit 5ee6870) Co-authored-by: Sam Potekhin <[email protected]>
SUMMARY
If
method4
wasdisabled
, this option has no effect - nmcli accepts it, but keeps it's own default value. Task marked changed always because ofdiff
with default value and passed to module.Now option
ipv4.may-fail
participate in configuration process only when user definedmethod4
as non-disabled
.ISSUE TYPE
COMPONENT NAME
nmcli