mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Optimized .mds and meta/main.yml for postfix,python-pip,restart-docker & sshd
This commit is contained in:
20
roles/python-pip/README.md
Normal file
20
roles/python-pip/README.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# Python-Pip
|
||||
|
||||
## Description
|
||||
|
||||
This role installs the [python-pip](https://en.wikipedia.org/wiki/Pip_(package_manager)) package on the target system. It ensures that the pip package manager is available for installing Python packages.
|
||||
|
||||
## Overview
|
||||
|
||||
Optimized for simplicity and idempotency, this role:
|
||||
- Installs the python-pip package using [pacman](https://wiki.archlinux.org/title/Pacman).
|
||||
- Sets a flag to ensure the installation tasks run only once.
|
||||
|
||||
## Purpose
|
||||
|
||||
The primary purpose of this role is to provide a reliable installation of the Python package manager, pip, ensuring that subsequent Python package installations can proceed without issues.
|
||||
|
||||
## Features
|
||||
|
||||
- **Pip Installation:** Installs python-pip if not already present.
|
||||
- **Idempotency:** Ensures tasks are executed only once.
|
25
roles/python-pip/meta/main.yml
Normal file
25
roles/python-pip/meta/main.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
galaxy_info:
|
||||
author: "Kevin Veen-Birkenbach"
|
||||
description: "Installs the python-pip package to provide the Python package manager, ensuring that Python packages can be installed reliably on the target system."
|
||||
license: "CyMaIS NonCommercial License (CNCL)"
|
||||
license_url: "https://s.veen.world/cncl"
|
||||
company: |
|
||||
Kevin Veen-Birkenbach
|
||||
Consulting & Coaching Solutions
|
||||
https://www.veen.world
|
||||
min_ansible_version: "2.9"
|
||||
platforms:
|
||||
- name: Archlinux
|
||||
versions:
|
||||
- rolling
|
||||
galaxy_tags:
|
||||
- python
|
||||
- pip
|
||||
- package
|
||||
- installation
|
||||
- automation
|
||||
repository: "https://s.veen.world/cymais"
|
||||
issue_tracker_url: "https://s.veen.world/cymaisissues"
|
||||
documentation: "https://s.veen.world/cymais"
|
||||
dependencies: []
|
Reference in New Issue
Block a user