Aurelio Jargas 524b7e7b95 Add ensure-poetry role
Poetry (https://python-poetry.org) is not declared as a dependency for a
Python project, it must be available somehow in the system. This role
installs it if missing.

- Latest version is installed, unless `ensure_poetry_version` is
  informed.

- The installed executable path is set as the `poetry_executable` fact.

- The `/usr/local/bin/poetry` symlink can also be created if
  `ensure_poetry_global_symlink: true`.

This new role is basically a copy of the `ensure-nox` role with the
symlink creation snippet taken from the `ensure-tox` role.

The commit adding `ensure-nox` (77b1b24) has been taken as an example of
the necessary changes when adding a new role.

Change-Id: I5592d38d415a9d74055348406653b69f110541ae
2024-07-02 08:00:55 -07:00
..
2021-12-16 06:48:49 -08:00
2020-05-26 09:34:25 +02:00
2021-12-16 06:48:49 -08:00
2023-03-23 09:47:49 -07:00
2023-04-21 15:09:42 -07:00
2020-04-01 17:30:55 -04:00
2020-05-26 09:34:25 +02:00
2020-06-11 17:26:50 +02:00
2019-07-19 12:49:18 -07:00
2019-06-14 18:08:48 +00:00
2020-02-21 06:55:47 -06:00
2023-03-23 09:47:49 -07:00
2022-04-11 14:20:49 -07:00
2024-01-08 16:09:17 +00:00
2023-08-11 09:12:13 -07:00
2023-08-11 09:12:13 -07:00
2020-05-26 09:34:25 +02:00
2024-06-07 10:40:53 +00:00
2024-07-02 08:00:55 -07:00
2024-01-08 16:09:17 +00:00
2020-08-25 09:04:43 +10:00
2020-04-03 13:03:07 +00:00