mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
More true/false normalization (#6152)
* More true/false normalization. * Boolean do not need explicit choices. * One more. * Fix type argument.
This commit is contained in:
@@ -16,17 +16,17 @@
|
||||
- name: Create {{ gitlab_project_name }}
|
||||
gitlab_project:
|
||||
api_url: "{{ gitlab_api_url }}"
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
api_token: "{{ gitlab_api_token }}"
|
||||
name: "{{ gitlab_project_name }}"
|
||||
initialize_with_readme: True
|
||||
initialize_with_readme: true
|
||||
state: present
|
||||
|
||||
- name: Create Badge (check)
|
||||
check_mode: true
|
||||
gitlab_project_badge:
|
||||
api_url: "{{ gitlab_api_url }}"
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
api_token: "{{ gitlab_api_token }}"
|
||||
project: "{{ gitlab_project_name }}"
|
||||
state: present
|
||||
@@ -46,7 +46,7 @@
|
||||
- name: Create Badge
|
||||
gitlab_project_badge:
|
||||
api_url: "{{ gitlab_api_url }}"
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
api_token: "{{ gitlab_api_token }}"
|
||||
project: "{{ gitlab_project_name }}"
|
||||
state: present
|
||||
@@ -66,7 +66,7 @@
|
||||
- name: Create Badge (confirmation)
|
||||
gitlab_project_badge:
|
||||
api_url: "{{ gitlab_api_url }}"
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
api_token: "{{ gitlab_api_token }}"
|
||||
project: "{{ gitlab_project_name }}"
|
||||
state: present
|
||||
@@ -87,7 +87,7 @@
|
||||
check_mode: true
|
||||
gitlab_project_badge:
|
||||
api_url: "{{ gitlab_api_url }}"
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
api_token: "{{ gitlab_api_token }}"
|
||||
project: "{{ gitlab_project_name }}"
|
||||
state: present
|
||||
@@ -107,7 +107,7 @@
|
||||
- name: Update Badge
|
||||
gitlab_project_badge:
|
||||
api_url: "{{ gitlab_api_url }}"
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
api_token: "{{ gitlab_api_token }}"
|
||||
project: "{{ gitlab_project_name }}"
|
||||
state: present
|
||||
@@ -127,7 +127,7 @@
|
||||
- name: Update Badge (confirmation)
|
||||
gitlab_project_badge:
|
||||
api_url: "{{ gitlab_api_url }}"
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
api_token: "{{ gitlab_api_token }}"
|
||||
project: "{{ gitlab_project_name }}"
|
||||
state: present
|
||||
@@ -148,7 +148,7 @@
|
||||
check_mode: true
|
||||
gitlab_project_badge:
|
||||
api_url: "{{ gitlab_api_url }}"
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
api_token: "{{ gitlab_api_token }}"
|
||||
project: "{{ gitlab_project_name }}"
|
||||
state: absent
|
||||
@@ -168,7 +168,7 @@
|
||||
- name: Delete Badge
|
||||
gitlab_project_badge:
|
||||
api_url: "{{ gitlab_api_url }}"
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
api_token: "{{ gitlab_api_token }}"
|
||||
project: "{{ gitlab_project_name }}"
|
||||
state: absent
|
||||
@@ -188,7 +188,7 @@
|
||||
- name: Delete Badge (confirmation)
|
||||
gitlab_project_badge:
|
||||
api_url: "{{ gitlab_api_url }}"
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
api_token: "{{ gitlab_api_token }}"
|
||||
project: "{{ gitlab_project_name }}"
|
||||
state: absent
|
||||
@@ -208,7 +208,7 @@
|
||||
- name: Clean up {{ gitlab_project_name }}
|
||||
gitlab_project:
|
||||
api_url: "{{ gitlab_api_url }}"
|
||||
validate_certs: False
|
||||
validate_certs: false
|
||||
api_token: "{{ gitlab_api_token }}"
|
||||
name: "{{ gitlab_project_name }}"
|
||||
state: absent
|
||||
|
||||
Reference in New Issue
Block a user