Skip to content

Commit

Permalink
Shorter task names.
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-de-bock committed Sep 20, 2023
1 parent b0bd165 commit 367210e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tasks/assert.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
---

- name: assert | Test if git_repository_destination is set correctly
- name: assert | Test git_repository_destination
ansible.builtin.assert:
that:
- git_repository_destination is defined
- git_repository_destination is string
- git_repository_destination is not none
quiet: yes

- name: assert | Test if git_force is set correctly
- name: assert | Test git_force
ansible.builtin.assert:
that:
- git_force is defined
- git_force is boolean
quiet: yes

- name: assert | Test if git_repositories is set correctly
- name: assert | Test git_repositories
ansible.builtin.assert:
that:
- git_repositories is iterable
quiet: yes
when:
- git_repositories is defined

- name: assert | Test if item in git_repositories is set correctly
- name: assert | Test item in git_repositories
ansible.builtin.assert:
that:
- item.repo is defined
Expand All @@ -39,7 +39,7 @@
when:
- git_repositories is defined

- name: assert | Test if item in git_repositories with force is set correctly
- name: assert | Test item in git_repositories with force
ansible.builtin.assert:
that:
- item.version is boolean
Expand Down

0 comments on commit 367210e

Please sign in to comment.