feat: reorganize requirements.yml for role management

This commit is contained in:
2025-09-10 09:50:30 -04:00
parent b5a25e8c53
commit d6f60bcf27
2 changed files with 28 additions and 28 deletions
+12 -28
View File
@@ -1,31 +1,15 @@
---
# Define roles to be installed
roles:
# Install a role from Ansible Galaxy
#- name: geerlingguy.nginx
# version: "2.11.0" # Specify a particular version
# Define collections to be installed
collections:
# Install a collection from Ansible Galaxy
- community.general
- ansible.posix: "1.5.0" # Specify a particular version
# Install a role from a Git repository
#- src: https://github.com/your-org/ansible-role-webserver.git
# scm: git
# version: "main" # Specify a branch or tag
# name: custom_webserver_role
# # Install a collection from a Git repository
# - name: https://github.com/organization/repo_name.git
# type: git
# version: devel # Specify a branch or tag
# Install a role from a local path
- src: .ansible/roles/LucasJanin.ssh_config
name: LucasJanin.ssh_config
# # Define collections to be installed
# collections:
# # Install a collection from Ansible Galaxy
# - community.general
# - ansible.posix: "1.5.0" # Specify a particular version
# # Install a collection from a Git repository
# - name: https://github.com/organization/repo_name.git
# type: git
# version: devel # Specify a branch or tag
# # Install a collection from a local tarball
# - name: my_collection-1.0.0.tar.gz
# type: file
# # Install a collection from a local tarball
# - name: my_collection-1.0.0.tar.gz
# type: file