You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/aws_eks/playbooks/old_version.yml

18 lines
443 B
YAML

- hosts: localhost
connection: local
environment: "{{ ansible_test.environment }}"
tasks:
- name: try and use aws_eks_cluster module
aws_eks_cluster:
state: absent
name: my_cluster
ignore_errors: yes
register: aws_eks_cluster
- name: ensure that aws_eks fails with friendly error message
assert:
that:
- '"msg" in aws_eks_cluster'
- aws_eks_cluster is failed