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/apt_key/tasks/apt_key_binary.yml

14 lines
527 B
YAML

---
- name: Ensure import of binary key downloaded using URLs works
apt_key: url=https://packages.cloud.google.com/apt/doc/apt-key.gpg
# replace the above URL to the following, after the pull request is accepted
# apt_key: url=https://github.com/ansible/ansible/tree/devel/test/integration/targets/apt_key/samples/apt-key-example-binary.gpg
register: apt_key_binary_test
- name: Validate the results
assert:
that:
- 'apt_key_binary_test.changed is defined'
- 'apt_key_binary_test.changed'