From 4d4e386bad3e1ac9ef96e66155a59d1b0ea1eaea Mon Sep 17 00:00:00 2001 From: Ian Wienand <iwienand@redhat.com> Date: Mon, 28 Feb 2022 14:52:30 +1100 Subject: [PATCH] ensure-pip: fix typo in ensure_pip_virtualenv_command documentation Fix a typo in the documentation for this variable. Change-Id: I8da3d5e512e8fddccf6bd6a39078579c7433fba9 --- roles/ensure-pip/README.rst | 2 +- roles/ensure-pip/tasks/main.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/ensure-pip/README.rst b/roles/ensure-pip/README.rst index 835613301..d757d7fb9 100644 --- a/roles/ensure-pip/README.rst +++ b/roles/ensure-pip/README.rst @@ -58,7 +58,7 @@ This role will also install ``wheel`` components sufficient to run **Output Variables** -.. zuul:rolevar:: ensure_pip_virtualenv_cmd +.. zuul:rolevar:: ensure_pip_virtualenv_command This variable will be set to a command appropriate for general usage with the ``pip`` module ``virtualenv_command`` argument on the diff --git a/roles/ensure-pip/tasks/main.yaml b/roles/ensure-pip/tasks/main.yaml index e85d2ab5d..9ef9beaea 100644 --- a/roles/ensure-pip/tasks/main.yaml +++ b/roles/ensure-pip/tasks/main.yaml @@ -74,7 +74,7 @@ set_fact: _host_virtualenv: '{{ (_venv_probe.rc == 0) | ternary(_venv_probe.stdout + " -m venv", "virtualenv") }}' -- name: Set ensure_pip_virtualenv_cmd +- name: Set ensure_pip_virtualenv_command set_fact: ensure_pip_virtualenv_command: '{{ ensure_pip_virtualenv_command | default(_host_virtualenv) }}' cacheable: true