tech:notes_gitlab-ci_pipeline_-_api
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| tech:notes_gitlab-ci_pipeline_-_api [2026/07/16 09:17] – Jean-Baptiste | tech:notes_gitlab-ci_pipeline_-_api [2026/07/16 13:25] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| < | < | ||
| - | {{tag> | + | {{tag> |
| # Notes Gitlab-ci pipeline - API | # Notes Gitlab-ci pipeline - API | ||
| Ligne 102: | Ligne 102: | ||
| - name: Call API | - name: Call API | ||
| # no_log: true | # no_log: true | ||
| + | register: reg_uri | ||
| + | until: reg_uri.status == 201 | ||
| + | retries: 3 | ||
| + | delay: 5 # Every 5 seconds | ||
| ansible.builtin.uri: | ansible.builtin.uri: | ||
| url: "{{ url }}/ | url: "{{ url }}/ | ||
| # validate_certs: | # validate_certs: | ||
| - | method: POST | ||
| status_code: | status_code: | ||
| + | follow_redirects: | ||
| + | method: POST | ||
| body_format: | body_format: | ||
| headers: | headers: | ||
tech/notes_gitlab-ci_pipeline_-_api.1784186233.txt.gz · Dernière modification : de Jean-Baptiste
