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 fd2ee64 commit 2bafa63
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions tasks/assert.yml
Original file line number Diff line number Diff line change
@@ -1,78 +1,78 @@
---

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

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

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

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

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

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

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

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

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

- name: assert | Test if item in nextcloud_apps is set correctly
- name: assert | Test item in nextcloud_apps
ansible.builtin.assert:
that:
- item.name is defined
Expand All @@ -85,15 +85,15 @@
when:
- nextcloud_apps is defined

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

- name: assert | Test if item in nextcloud_settings is set correctly
- name: assert | Test item in nextcloud_settings
ansible.builtin.assert:
that:
- item.name is defined
Expand Down

0 comments on commit 2bafa63

Please sign in to comment.