TODO
TODO
Categories:
Shortcodes
ansible_inventory_link
This shortcut has three extra optional positional parameters:
{{- $link_param := .Get 1 | default "both" -}}
{{- $desc_param := .Get 2 | default "false" -}}
{{- $icon_param := .Get 3 | default "true" -}}
- The first can have values
gitlab
,page
orboth
(default). - The second can have values
true
,false
(default) will add the page description after the link. - The third can have values
true
(default),false
is used to shown GitLab icon.
Examples
1. {{< ansible_inventory_link "/docs/gitlab/c2platform/c2/ansible-inventory" >}}.
2. {{< ansible_inventory_link "/docs/gitlab/c2platform/c2/ansible-inventory" "gitlab" >}}.
3. {{< ansible_inventory_link "/docs/gitlab/c2platform/c2/ansible-inventory" "page" >}}.
4. {{< ansible_inventory_link "/docs/gitlab/c2platform/c2/ansible-inventory" "both" "true">}}.
5. {{< ansible_inventory_link "/docs/gitlab/c2platform/c2/ansible-inventory" "both" "false" "false">}}.
Preview
- C2 Platform Ansible Reference Inventory Project (
c2platform/c2/ansible-inventory
). c2platform/c2/ansible-inventory
.- C2 Platform Ansible Reference Inventory Project.
- C2 Platform Ansible Reference Inventory Project (
c2platform/c2/ansible-inventory
): Ansible inventory for the C2 Platform reference implementation, providing a streamlined configuration to deploy and manage essential open-source components. Key elements include automation tools like AWX and Galaxy NG, version control with GitLab CE, container orchestration via Kubernetes (both open-source and Rancher-managed), identity management through Keycloak, and web/proxy services with Apache and HAProxy. - C2 Platform Ansible Reference Inventory Project (
c2platform/c2/ansible-inventory
).
Currently we have the following inventory projects
- C2 Platform Ansible Reference Inventory Project (
c2platform/c2/ansible-inventory
) - Ansible Inventory Project for the PHX Platform Reference Implementation (
c2platform/phx/ansible
) - RWS GIS Platform Ansible Mirror Inventory Project (
c2platform/rws/ansible-gis
) - Ansible Inventory Project for the CD Platform Reference Implementation (
c2platform/pol/ansible
)
ansible_collection_link
The shortcut is very similar to ansible_inventory_link
.
Examples
1. {{< ansible_collection_link "/docs/gitlab/c2platform/c2/ansible-collection-core" >}}.
2. {{< ansible_collection_link "/docs/gitlab/c2platform/c2/ansible-collection-core" "gitlab" >}}.
3. {{< ansible_collection_link "/docs/gitlab/c2platform/c2/ansible-collection-core" "page" >}}.
4. {{< ansible_collection_link "/docs/gitlab/c2platform/c2/ansible-collection-core" "both" "true">}}.
5. {{< ansible_collection_link "/docs/gitlab/c2platform/c2/ansible-collection-core" "both" "false" "false">}}.
Preview
- Ansible Core Collection (
c2platform.core
). c2platform.core
.- Ansible Core Collection.
- Ansible Core Collection (
c2platform.core
): C2 Platform core, generic roles that are used by all or some other roles. These roles typically don't create services / processes on target node but are dependencies e.g. packages required by those roles. Or these roles help with Ansible provisioning for example offers generic Ansible modules, filters etc.. - Ansible Core Collection (
c2platform.core
).
ansible_role_link
The shortcut is very similar to ansible_inventory_link
.
Examples
1. {{< ansible_role_link "/docs/gitlab/c2platform/c2/ansible-collection-core/roles/linux" >}}.
2. {{< ansible_role_link "/docs/gitlab/c2platform/c2/ansible-collection-core/roles/linux" "gitlab" >}}.
3. {{< ansible_role_link "/docs/gitlab/c2platform/c2/ansible-collection-core/roles/linux" "page" >}}.
4. {{< ansible_role_link "/docs/gitlab/c2platform/c2/ansible-collection-core/roles/linux" "both" "true">}}.
5. {{< ansible_role_link "/docs/gitlab/c2platform/c2/ansible-collection-core/roles/linux" "both" "false" "false">}}.
Preview
- Ansible Linux Role (
c2platform.core.linux
). c2platform.core.linux
.- Ansible Linux Role.
- Ansible Linux Role (
c2platform.core.linux
): Manage Linux systems effectively with a wide range of modules fromansible.builtin
,ansible.posix
, andcommunity.general
collections, simplifying resource management via thelinux_resources
variable, which is flexible and powerful, enhancing administration and reducing the need for custom roles or collections.. - Ansible Linux Role (
c2platform.core.linux
).
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified October 17, 2025: code with project attribute C2-578 (d84a5ee)