Commit Graph

23 Commits

Author SHA1 Message Date
dmotte 105436e80f Omit executable if item.virtualenv is defined 2024-03-09 14:01:37 +01:00
Jeff Geerling 69ce0d8149 Getting a version number changes nothing. 2024-01-24 22:48:16 -06:00
Zack Lovelelss 6c927a7881 Check major version before trying to remove externally managed. 2023-10-28 03:59:33 +00:00
Barnabas Busa 12de34e3a9
fix yamllint 2023-08-11 10:27:36 +02:00
Barnabas Busa 088273d11b
move the external managed task into a subtask, update ci to run newer images 2023-08-11 10:24:46 +02:00
Barnabas Busa 2aef145841
fix: remove EXERTNALLY-MANAGED on Debian12 2023-08-07 15:22:46 +02:00
David Gray 21455b6dba Add support for extra_args
'extra_args' has been available since 1.0 of ansible.builtin and this
module already uses 'executable' which was added in 1.3 so this should
be perfectly safe to add.
2022-08-25 15:14:14 +01:00
fgierlinger f5212246e6
Migrating from with_X to loop
Fixes #36
2021-01-26 21:58:56 +01:00
Jeff Geerling f748c258b6 PR #30 follow-up: Default to python3-pip. 2020-07-22 12:01:53 -05:00
fgierlinger 080746e32a Include OS specific variables
The package naming for pip has changed in centos8. Previously the pip
package was called python-pip for python2 and python3-pip for python3.
In CentOS 8 the packages are now called python2-pip for python2 ad
python3-pip for python3.
2020-05-17 20:25:28 +02:00
Viacheslav Ostroukh a990947391 add ability to use the role on CentOS 7 2018-11-10 11:22:20 +01:00
Michael Porter 0f8b8f32ee
update syntax for if 2018-09-10 10:15:08 -05:00
Michael Porter f4faa4d451
trim white space 2018-09-10 09:33:23 -05:00
Michael Porter cffcf33bd2
update to a single task 2018-09-10 09:32:42 -05:00
Michael Porter 4dcb2b5ecf
Use pip3 for python3 2018-09-09 19:01:25 -05:00
Michael Porter 69add2c5f0
Link for Pip3
#8 Does this role install python3 as well?
2018-09-09 14:06:33 -05:00
Victor da Costa afe14be0f6
Support Virtualenv (Fix #10)
Support the installation of packages in a specific virtualenv.
2018-04-30 16:37:41 +02:00
Jeff Geerling 65eddfe604 Fixes #7, Fixes #6: Allow customization of pip_package name. 2017-12-19 23:58:00 -06:00
grahamlyons 4a2fd99b54 Add name of the system pip package into defaults
On Amazon Linux, installing `python-pip` acutally installs the
`python26-pip` package, so anything running in Python 2.7 won't
find the dependencies installed with that `pip`.

This allows the package name to be customised, depending on the OS
and Python versions.
2017-11-14 12:28:48 +00:00
Thibaud Lepretre 738bcd7b41 Use default(omit) instead of hardcoded string 2017-09-01 09:23:08 +02:00
Thibaud Lepretre 2f5587e279 Able to customize state per pip package
fixes #4
2017-09-01 09:22:06 +02:00
Jeff Geerling 50c9b505d6 Actually make things work. 2017-05-26 23:15:50 -05:00
Jeff Geerling 5640fffb6e Initial commit. 2017-05-26 23:09:47 -04:00