mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-27 00:46:34 +00:00
Switch gitlab_hook test to non-deprecated name.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
state: present
|
||||
|
||||
- name: Cleanup Gitlab hook
|
||||
gitlab_hooks:
|
||||
gitlab_hook:
|
||||
server_url: "{{ gitlab_host }}"
|
||||
validate_certs: false
|
||||
login_token: "{{ gitlab_login_token }}"
|
||||
@@ -21,7 +21,7 @@
|
||||
state: absent
|
||||
|
||||
- name: Create Gitlab Hook
|
||||
gitlab_hooks:
|
||||
gitlab_hook:
|
||||
server_url: "{{ gitlab_host }}"
|
||||
validate_certs: false
|
||||
login_token: "{{ gitlab_login_token }}"
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
|
||||
- name: Create Gitlab Hook ( Idempotency test )
|
||||
gitlab_hooks:
|
||||
gitlab_hook:
|
||||
server_url: "{{ gitlab_host }}"
|
||||
validate_certs: false
|
||||
login_token: "{{ gitlab_login_token }}"
|
||||
@@ -52,7 +52,7 @@
|
||||
- gitlab_hook_state_again is not changed
|
||||
|
||||
- name: Remove Gitlab hook
|
||||
gitlab_hooks:
|
||||
gitlab_hook:
|
||||
server_url: "{{ gitlab_host }}"
|
||||
validate_certs: false
|
||||
login_token: "{{ gitlab_login_token }}"
|
||||
Reference in New Issue
Block a user