Optimized git-config role

This commit is contained in:
2025-04-01 23:57:52 +02:00
parent 83007983a5
commit 9dc571062c
12 changed files with 78 additions and 33 deletions

View File

@@ -12,7 +12,7 @@ The `main.yml` file in the `pc-developer-tools-arduino` role encompasses tasks c
- `arduino-docs`: Documentation for Arduino, providing essential information for development.
2. **Adding User to Relevant Arduino Usergroups**:
- This task modifies the user (specified by `{{client_username}}`) to be added to the `uucp` and `lock` groups, which is necessary for accessing serial ports on Linux systems.
- This task modifies the user (specified by `{{users.client.username}}`) to be added to the `uucp` and `lock` groups, which is necessary for accessing serial ports on Linux systems.
## Dependencies
The role depends on:
@@ -29,7 +29,7 @@ The `pc-developer-tools-arduino` role is tailored for developers and hobbyists w
To utilize this role:
1. Clone the `cymais` repository.
2. Navigate to the `roles/pc-developer-tools-arduino` directory.
3. Execute the role using Ansible, ensuring you replace `{{client_username}}` with the actual username and have the necessary system permissions.
3. Execute the role using Ansible, ensuring you replace `{{users.client.username}}` with the actual username and have the necessary system permissions.
## Customization
This role can be customized to include additional Arduino-related packages or tools, depending on the user's requirements.

View File

@@ -5,7 +5,7 @@
- arduino-docs
state: present
- name: Adding user {{client_username}} to relevant arduino usergroups
user: name={{client_username}}
- name: Adding user {{users.client.username}} to relevant arduino usergroups
user: name={{users.client.username}}
groups=uucp lock
append=yes