diff --git a/defaults/main.yml b/defaults/main.yml index 5c07ee8..aceb094 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,2 +1,3 @@ --- +pip_package_name: python-pip pip_install_packages: [] diff --git a/tasks/main.yml b/tasks/main.yml index 7098cd0..a92e683 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,6 +1,8 @@ --- - name: Ensure Pip is installed. - package: name=python-pip state=present + package: + name: "{{pip_package_name}}" + state: present - name: Ensure pip_install_packages are installed. pip: