Commit e8076f6e authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

docs: use variabilized GitLab server FQDN in CI/CD component reference URLs

parent 0f6180fe
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ Add the following to your `.gitlab-ci.yml`:
```yaml
include:
  # 1: include the component
  - component: gitlab.com/to-be-continuous/ansible/gitlab-ci-ansible@6.3.4
  - component: $CI_SERVER_FQDN/to-be-continuous/ansible/gitlab-ci-ansible@6.3.4
    # 2: set/override component inputs
    inputs:
      # ⚠ this is only an example
@@ -397,7 +397,7 @@ The `gitlab-ci` in this example, will show use how to configure the template to

```yaml
include:
  - component: gitlab.com/to-be-continuous/ansible/gitlab-ci-ansible@6.3.4
  - component: $CI_SERVER_FQDN/to-be-continuous/ansible/gitlab-ci-ansible@6.3.4
    inputs:
      # In this example, let's consider that you have one inventory per platform 
      # and only one playbook file for all environments
@@ -464,8 +464,8 @@ In the `.gitlab-ci.yml` add the docker template to build your image:

```yaml
include:
  - component: gitlab.com/to-be-continuous/docker/gitlab-ci-docker@someversion
  - component: gitlab.com/to-be-continuous/ansible/gitlab-ci-ansible@6.3.4
  - component: $CI_SERVER_FQDN/to-be-continuous/docker/gitlab-ci-docker@someversion
  - component: $CI_SERVER_FQDN/to-be-continuous/ansible/gitlab-ci-ansible@6.3.4
    inputs:
      # In this example, let's consider that you have one inventory per platform 
      # and only one playbook file for all environments
@@ -492,7 +492,7 @@ Add this `.gitlab-ci.yml` in the repository of your application project (you wil

```yaml
include:
  - component: gitlab.com/to-be-continuous/ansible/gitlab-ci-ansible@6.3.4
  - component: $CI_SERVER_FQDN/to-be-continuous/ansible/gitlab-ci-ansible@6.3.4
    inputs:
      # In this example, let's consider that you have one inventory per platform 
      # and only one playbook file for all environments
@@ -558,9 +558,9 @@ With:
```yaml
include:
  # main template
  - component: gitlab.com/to-be-continuous/ansible/gitlab-ci-ansible@6.3.4
  - component: $CI_SERVER_FQDN/to-be-continuous/ansible/gitlab-ci-ansible@6.3.4
  # Vault variant
  - component: gitlab.com/to-be-continuous/ansible/gitlab-ci-ansible-vault@6.3.4
  - component: $CI_SERVER_FQDN/to-be-continuous/ansible/gitlab-ci-ansible-vault@6.3.4
    inputs:
      # audience claim for JWT
      vault-oidc-aud: "https://vault.acme.host"