mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-05-07 05:43:06 +00:00
Add shippable tests. (#4)
This commit is contained in:
@@ -1,2 +1 @@
|
||||
shippable/posix/group1
|
||||
skip/aix
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
shippable/posix/group1
|
||||
destructive
|
||||
needs/httptester
|
||||
skip/aix
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
hidden
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
x509_crl_info
|
||||
shippable/posix/incidental
|
||||
destructive
|
||||
skip/aix
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
shippable/posix/group4
|
||||
skip/aix
|
||||
skip/osx
|
||||
skip/freebsd
|
||||
skip/docker
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
shippable/posix/group1
|
||||
destructive
|
||||
skip/aix
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
shippable/posix/group1
|
||||
destructive
|
||||
skip/aix
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
shippable/posix/group5
|
||||
destructive
|
||||
skip/aix
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
shippable/posix/group1
|
||||
destructive
|
||||
skip/aix
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
shippable/posix/group1
|
||||
destructive
|
||||
skip/aix
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
shippable/posix/group1
|
||||
destructive
|
||||
skip/aix
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
shippable/posix/group1
|
||||
destructive
|
||||
skip/aix
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
destructive
|
||||
needs/root
|
||||
shippable/posix/group1
|
||||
skip/aix
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
shippable/posix/group1
|
||||
destructive
|
||||
skip/aix
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
shippable/posix/group1
|
||||
destructive
|
||||
skip/aix
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
shippable/posix/group1
|
||||
destructive
|
||||
skip/aix
|
||||
|
||||
@@ -20,5 +20,3 @@
|
||||
- "default.yml"
|
||||
when:
|
||||
- has_httptester|bool
|
||||
# skip the setup if running on Windows Server 2008 as httptester is not available
|
||||
- ansible_os_family != 'Windows' or (ansible_os_family == 'Windows' and not ansible_distribution_version.startswith("6.0."))
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
- name: Windows - make sure the port forwarder is active
|
||||
ansible.windows.win_wait_for:
|
||||
host: ansible.http.tests
|
||||
port: 80
|
||||
state: started
|
||||
timeout: 300
|
||||
- name: Windows - Get client cert/key
|
||||
register: win_download
|
||||
retries: 5
|
||||
until: win_download is successful
|
||||
with_items:
|
||||
- client.pem
|
||||
- client.key
|
||||
ansible.windows.win_get_url:
|
||||
url: http://ansible.http.tests/{{ item }}
|
||||
dest: '{{ remote_tmp_dir }}\{{ item }}'
|
||||
- name: Windows - Retrieve test cacert
|
||||
ansible.windows.win_get_url:
|
||||
url: http://ansible.http.tests/cacert.pem
|
||||
dest: '{{ remote_tmp_dir }}\cacert.pem'
|
||||
- name: Windows - Update ca trust
|
||||
ansible.windows.win_certificate_store:
|
||||
path: '{{ remote_tmp_dir }}\cacert.pem'
|
||||
state: present
|
||||
store_location: LocalMachine
|
||||
store_name: Root
|
||||
@@ -1,5 +1,2 @@
|
||||
- name: delete temporary directory
|
||||
include_tasks: default-cleanup.yml
|
||||
|
||||
- name: delete temporary directory (windows)
|
||||
include_tasks: windows-cleanup.yml
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
- name: delete temporary directory (windows)
|
||||
ansible.windows.win_file:
|
||||
path: '{{ remote_tmp_dir }}'
|
||||
state: absent
|
||||
@@ -1,10 +0,0 @@
|
||||
- name: create temporary directory
|
||||
register: remote_tmp_dir
|
||||
notify:
|
||||
- delete temporary directory (windows)
|
||||
ansible.windows.win_tempfile:
|
||||
state: directory
|
||||
suffix: .test
|
||||
- name: record temporary directory
|
||||
set_fact:
|
||||
remote_tmp_dir: '{{ remote_tmp_dir.path }}'
|
||||
@@ -1,4 +1,3 @@
|
||||
x509_crl_info
|
||||
shippable/posix/group1
|
||||
destructive
|
||||
skip/aix
|
||||
|
||||
Reference in New Issue
Block a user