From 056a8b0919d207330a211050d31d3f89b49a4d0e Mon Sep 17 00:00:00 2001 From: Roman Dodin Date: Wed, 8 Jan 2025 13:38:34 +0100 Subject: [PATCH] fix set_fact --- tests/playbooks/set-leaves-twice.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/playbooks/set-leaves-twice.yml b/tests/playbooks/set-leaves-twice.yml index 2776698..50986a6 100644 --- a/tests/playbooks/set-leaves-twice.yml +++ b/tests/playbooks/set-leaves-twice.yml @@ -38,7 +38,7 @@ var: commits - name: Count the number of commits registered after the first set - - ansible.builtin.set_fact: + ansible.builtin.set_fact: first_commit_count: "{{ commits.result[0].commit | length }}" - name: Set information with the same value again @@ -67,7 +67,7 @@ var: commits - name: Count the number of commits registered after the second set - - ansible.builtin.set_fact: + ansible.builtin.set_fact: second_commit_count: "{{ commits.result[0].commit | length }}" - ansible.builtin.debug: