From 696101a91048fb024736aee4dff7e3f460927aaf Mon Sep 17 00:00:00 2001
From: DenisKa <kdszoom@gmail.com>
Date: Mon, 7 Feb 2022 12:39:43 +0300
Subject: [PATCH] Fixed mitogen.yml (#8508)

Fixed the problem when call ansible-playbook contrib/mitogen/mitogen.yml
"The error was: 'dict object' has no attribute 'section'"

What type of PR is this?

/kind bug

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:
---
 contrib/mitogen/mitogen.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/mitogen/mitogen.yml b/contrib/mitogen/mitogen.yml
index 20752d6ca..4dbd0fb76 100644
--- a/contrib/mitogen/mitogen.yml
+++ b/contrib/mitogen/mitogen.yml
@@ -40,7 +40,7 @@
         path: ansible.cfg
         mode: 0644
         section: "{{ item.section | d('defaults') }}"
-        option: "{{ item.section }}"
+        option: "{{ item.option }}"
         value: "{{ item.value }}"
       with_items:
         - option: strategy
-- 
GitLab