diff options
author | Ansible Core Team <info@ansible.com> | 2020-03-09 10:40:29 +0100 |
---|---|---|
committer | Matt Martz <matt@sivel.net> | 2020-03-23 17:14:21 +0100 |
commit | 4e488d8435b3b3458de08bb2e4532bfbe6318121 (patch) | |
tree | 05eb51738d05d26c992b439214c3dd7ffd1af538 /test/integration/targets/mqtt | |
parent | Migrated to community.amazon (diff) | |
download | ansible-4e488d8435b3b3458de08bb2e4532bfbe6318121.tar.xz ansible-4e488d8435b3b3458de08bb2e4532bfbe6318121.zip |
Migrated to community.general
Diffstat (limited to 'test/integration/targets/mqtt')
-rw-r--r-- | test/integration/targets/mqtt/aliases | 6 | ||||
-rw-r--r-- | test/integration/targets/mqtt/meta/main.yml | 2 | ||||
-rw-r--r-- | test/integration/targets/mqtt/tasks/main.yml | 4 | ||||
-rw-r--r-- | test/integration/targets/mqtt/tasks/ubuntu.yml | 142 |
4 files changed, 0 insertions, 154 deletions
diff --git a/test/integration/targets/mqtt/aliases b/test/integration/targets/mqtt/aliases deleted file mode 100644 index 8f81886769..0000000000 --- a/test/integration/targets/mqtt/aliases +++ /dev/null @@ -1,6 +0,0 @@ -notification/mqtt -shippable/posix/group1 -skip/aix -skip/osx -skip/freebsd -skip/rhel diff --git a/test/integration/targets/mqtt/meta/main.yml b/test/integration/targets/mqtt/meta/main.yml deleted file mode 100644 index 86f3d04363..0000000000 --- a/test/integration/targets/mqtt/meta/main.yml +++ /dev/null @@ -1,2 +0,0 @@ -dependencies: - - setup_mosquitto diff --git a/test/integration/targets/mqtt/tasks/main.yml b/test/integration/targets/mqtt/tasks/main.yml deleted file mode 100644 index 37442abfec..0000000000 --- a/test/integration/targets/mqtt/tasks/main.yml +++ /dev/null @@ -1,4 +0,0 @@ -- include: ubuntu.yml - when: - - ansible_distribution == 'Ubuntu' - - ansible_distribution_release != 'trusty' diff --git a/test/integration/targets/mqtt/tasks/ubuntu.yml b/test/integration/targets/mqtt/tasks/ubuntu.yml deleted file mode 100644 index 71ff3e90bc..0000000000 --- a/test/integration/targets/mqtt/tasks/ubuntu.yml +++ /dev/null @@ -1,142 +0,0 @@ -- name: Install pip packages - pip: - name: paho-mqtt>=1.4.0 - state: present - -- name: MQTT non-TLS endpoint - mqtt: - topic: /node/s/bar/blurb - payload: foo - qos: 1 - client_id: me001 - register: result - -- assert: - that: - - result is success - -- name: Send a test message to TLS1.1 endpoint, no client version specified - mqtt: - topic: /node/s/bar/blurb - payload: foo-tls - qos: 1 - client_id: me001 - ca_certs: /tls/ca_certificate.pem - certfile: /tls/client_certificate.pem - keyfile: /tls/client_key.pem - port: 8883 - register: result - -- assert: - that: - - result is success - -- name: Send a test message to TLS1.2 endpoint, no client version specified - mqtt: - topic: /node/s/bar/blurb - payload: foo-tls - qos: 1 - client_id: me001 - ca_certs: /tls/ca_certificate.pem - certfile: /tls/client_certificate.pem - keyfile: /tls/client_key.pem - port: 8884 - register: result - -- assert: - that: - - result is success - -# TODO(Uncomment when TLS1.3 is supported in moquitto and ubuntu version) -# -# - name: Send a test message to TLS1.3 endpoint -# mqtt: -# topic: /node/s/bar/blurb -# payload: foo-tls -# qos: 1 -# client_id: me001 -# ca_certs: /tls/ca_certificate.pem -# certfile: /tls/client_certificate.pem -# keyfile: /tls/client_key.pem -# port: 8885 -# register: result - -#- assert: -# that: -# - result is success - -- name: Send a message, client TLS1.1, server (required) TLS1.2 - Expected failure - mqtt: - topic: /node/s/bar/blurb - payload: foo-tls - qos: 1 - client_id: me001 - ca_certs: /tls/ca_certificate.pem - certfile: /tls/client_certificate.pem - keyfile: /tls/client_key.pem - tls_version: tlsv1.1 - port: 8884 - register: result - failed_when: result is success - -- assert: - that: - - result is success - -# TODO(Uncomment when TLS1.3 is supported in moquitto and ubuntu version) -# -# - name: Send a message, client TLS1.1, server (required) TLS1.3 - Expected failure -# mqtt: -# topic: /node/s/bar/blurb -# payload: foo-tls -# qos: 1 -# client_id: me001 -# ca_certs: /tls/ca_certificate.pem -# certfile: /tls/client_certificate.pem -# keyfile: /tls/client_key.pem -# tls_version: tlsv1.1 -# port: 8885 -# register: result -# failed_when: result is success - -# - assert: -# that: -# - result is success - -- name: Send a message, client TLS1.2, server (required) TLS1.1 - Expected failure - mqtt: - topic: /node/s/bar/blurb - payload: foo-tls - qos: 1 - client_id: me001 - ca_certs: /tls/ca_certificate.pem - certfile: /tls/client_certificate.pem - keyfile: /tls/client_key.pem - tls_version: tlsv1.2 - port: 8883 - register: result - failed_when: result is success - -- assert: - that: - - result is success - -# TODO(Uncomment when TLS1.3 is supported in moquitto and ubuntu version) -# -# - name: Send a message, client TLS1.2, server (required) TLS1.3 - Expected failure -# mqtt: -# topic: /node/s/bar/blurb -# payload: foo-tls -# qos: 1 -# client_id: me001 -# ca_certs: /tls/ca_certificate.pem -# certfile: /tls/client_certificate.pem -# keyfile: /tls/client_key.pem -# tls_version: tlsv1.2 -# port: 8885 -# register: result -# failed_when: result is success - -# - assert: -# that: -# - result is success |