From eee0dd229599b3c300e0f8bbdae611004c8b5396 Mon Sep 17 00:00:00 2001 From: David Galloway Date: Mon, 17 Feb 2025 22:13:09 -0500 Subject: [PATCH] ansible: Add tag to python interpreter var setting tasks I'm working on a combination of terraform and ansible to quickly spin up instances in IBM Cloud so they can join Jenkins as builders. Part of this process involves creating a virtualenv and running ansible from it. python-jenkins needs to be installed in the virtualenv and setting the python interpreters inside the playbook breaks that. This PR will let me `--skip-tags interpreter` Signed-off-by: David Galloway --- ansible/examples/builder.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/examples/builder.yml b/ansible/examples/builder.yml index 33a179ef..cbb026fe 100644 --- a/ansible/examples/builder.yml +++ b/ansible/examples/builder.yml @@ -796,6 +796,7 @@ (ansible_os_family == "Debian" and ansible_distribution_major_version|int <= 16) tags: - register + - interpreter - set_fact: pip_version: pip3 @@ -805,6 +806,7 @@ ansible_os_family == "Suse" tags: - register + - interpreter - name: Install six, latest one pip: -- 2.39.5