diff --git a/tasks/install.yaml b/tasks/install.yaml index f779fa8..f184f68 100644 --- a/tasks/install.yaml +++ b/tasks/install.yaml @@ -12,7 +12,7 @@ # License for the specific language governing permissions and limitations # under the License. --- -- name: Define virtualenv_build_depends. +- name: Define virtualenv_build_depends set_fact: virtualenv_build_depends: "{{ __virtualenv_build_depends | list }}" when: virtualenv_build_depends is not defined diff --git a/tasks/install/git.yaml b/tasks/install/git.yaml index b649459..15eca89 100644 --- a/tasks/install/git.yaml +++ b/tasks/install/git.yaml @@ -12,14 +12,14 @@ # License for the specific language governing permissions and limitations # under the License. --- -- name: Git clone virtualenv. +- name: Git clone virtualenv become: yes git: dest: "{{ virtualenv_git_dest }}" repo: "{{ virtualenv_git_uri }}" version: "{{ virtualenv_git_version }}" -- name: Pip install virtualenv from local git repo. +- name: Pip install virtualenv from local git repo become: yes pip: extra_args: "{{ virtualenv_pip_extra_args|default(omit) }}" diff --git a/tasks/install/pip.yaml b/tasks/install/pip.yaml index 065cae2..79df26c 100644 --- a/tasks/install/pip.yaml +++ b/tasks/install/pip.yaml @@ -12,7 +12,7 @@ # License for the specific language governing permissions and limitations # under the License. --- -- name: Install virtualenv using pip. +- name: Install virtualenv using pip become: yes pip: extra_args: "{{ virtualenv_pip_extra_args|default(omit) }}" diff --git a/tasks/main.yaml b/tasks/main.yaml index 10a001c..1f0f48a 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -12,7 +12,7 @@ # License for the specific language governing permissions and limitations # under the License. --- -- name: Include OS-specific variables. +- name: Include OS-specific variables include_vars: "{{ ansible_os_family }}.yaml" - include: "{{ virtualenv_task }}.yaml"