summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/apt_key/tasks/apt_key_binary.yml
blob: b120bd57a6476f764b48faa131909418f7378908 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---

- name: Ensure import of binary key downloaded using URLs works
  apt_key:
    url: https://ci-files.testing.ansible.com/test/integration/targets/apt_key/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'