bring up your nextcloud usage to the next level ????
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

54 lines
1.3 KiB

---
- hosts: localhost
connection: local
gather_facts: no
vars:
SSL_MODE: http
module_defaults:
markuman.nextcloud.file:
ssl_mode: "{{ SSL_MODE }}"
markuman.nextcloud.file_info:
ssl_mode: "{{ SSL_MODE }}"
markuman.nextcloud.password:
ssl_mode: "{{ SSL_MODE }}"
markuman.nextcloud.password_info:
ssl_mode: "{{ SSL_MODE }}"
markuman.nextcloud.passwords:
ssl_mode: "{{ SSL_MODE }}"
markuman.nextcloud.generate_password:
ssl_mode: "{{ SSL_MODE }}"
markuman.nextcloud.user_info:
ssl_mode: "{{ SSL_MODE }}"
markuman.nextcloud.info:
ssl_mode: "{{ SSL_MODE }}"
tasks:
- name: wait for nextcloud (pull image and install)
get_url:
url: http://nextcloud21
dest: /tmp/test
register: status
until: status.failed == false
delay: 5
retries: 50
- name: integration tests
block:
- name: file integration test
include_role:
name: info
- name: file integration test
include_role:
name: user
- name: file integration test
include_role:
name: file
- name: passwords integration test
when: SSL_MODE != 'http'
include_role:
name: passwords