From 22629623d8b2d1bfcd582ea50fde47dd4840c911 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Thu, 21 Dec 2023 13:14:45 +0100 Subject: [PATCH] Fix templating in examples. Co-authored-by: Maxwell G --- plugins/modules/plugin_requirements_info.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/modules/plugin_requirements_info.py b/plugins/modules/plugin_requirements_info.py index 64c06fec2f..afe413026d 100644 --- a/plugins/modules/plugin_requirements_info.py +++ b/plugins/modules/plugin_requirements_info.py @@ -83,12 +83,12 @@ EXAMPLES = r''' - name: Install system requirements ansible.builtin.package: name: "{{ requirements.system }}" - when: "{{ requirements.system }}" + when: "requirements.system" - name: Install Python requirements ansible.builtin.pip: name: "{{ requirements.python }}" - when: "{{ requirements.python }}" + when: "requirements.python" ''' RETURN = r'''