Refactored pc roles and added README.md's with help of ChatGPT. See https://chat.openai.com/share/df22ba6a-76d0-47c2-a8c7-daec3f42b4e5

This commit is contained in:
2023-12-02 18:49:50 +01:00
parent 0b21168a78
commit 29ea125179
101 changed files with 947 additions and 75 deletions

View File

@@ -0,0 +1,34 @@
# PC-Developer-Tools-Python Role
## Overview
This README accompanies the `pc-developer-tools-python` role, which is part of the `computer-playbook` repository. The role is dedicated to setting up Python development tools on personal computers.
## Role Contents
The `main.yml` file under the `pc-developer-tools-python` role includes the following task:
1. **Install Python Developer Tools**:
- The task employs the `community.general.pacman` module to install:
- `python`: The Python programming language package, essential for development in Python, one of the most popular and widely used programming languages today.
## Dependencies
This role depends on:
- **pc-developer-tools**: This ensures that basic developer tools, potentially including code editors, version control systems, and other utilities common in development environments, are already installed.
## Purpose and Usage
The `pc-developer-tools-python` role is specifically designed for developers who work with Python. Whether you are a beginner learning Python, a data scientist using Python for analysis, or a web developer creating applications in Python, this role provides the foundational Python package necessary for such activities.
## Prerequisites
- **Ansible**: Ansible must be installed on your system to run this role.
- **Arch Linux-based System**: Since the role utilizes the `pacman` package manager, it is tailored for Arch Linux or similar distributions.
## Running the Role
To use this role:
1. Clone the `computer-playbook` repository to your machine.
2. Navigate to the `roles/pc-developer-tools-python` directory within the repository.
3. Execute the role using Ansible, ensuring you have the appropriate permissions to install software packages.
## Customization
You can customize this role by adding more Python-related tools, libraries, or frameworks to suit your specific development needs.
## Support and Contributions
For support, feedback, or contributions, such as adding additional Python development tools or enhancing the existing setup, please open an issue or submit a pull request in the `computer-playbook` repository. Contributions that improve the Python development environment are highly encouraged.

View File

@@ -0,0 +1,2 @@
dependencies:
- pc-developer-tools

View File

@@ -0,0 +1,5 @@
- name: install python developer tools
community.general.pacman:
name:
- python
state: present