Switch gitlab_hook test to non-deprecated name.

This commit is contained in:
Matt Clay 2019-04-17 16:15:22 -07:00
parent 48cb681140
commit 01a3048b98
3 changed files with 4 additions and 4 deletions

View file

@ -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 }}"