feat: reorganize requirements.yml for role management
This commit is contained in:
@@ -1,25 +1,9 @@
|
|||||||
---
|
---
|
||||||
# Define roles to be installed
|
# Define collections to be installed
|
||||||
roles:
|
collections:
|
||||||
# Install a role from Ansible Galaxy
|
# Install a collection from Ansible Galaxy
|
||||||
#- name: geerlingguy.nginx
|
- community.general
|
||||||
# version: "2.11.0" # Specify a particular version
|
- 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 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
|
# # Install a collection from a Git repository
|
||||||
# - name: https://github.com/organization/repo_name.git
|
# - name: https://github.com/organization/repo_name.git
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
# Define roles to be installed
|
||||||
|
roles:
|
||||||
|
# Install a role from Ansible Galaxy
|
||||||
|
#- name: geerlingguy.nginx
|
||||||
|
# version: "2.11.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 role from a local path
|
||||||
|
- src: .ansible/roles/LucasJanin.ssh_config
|
||||||
|
name: LucasJanin.ssh_config
|
||||||
Reference in New Issue
Block a user