ansible/test/legacy/roles/vultr_account_facts/tasks/main.yml
René Moser 1fb0e11b56
vultr: rename prefix vr_to vultr_ (#43994)
* vultr: rename modules

* replace string vr_ with vultr_

* add deprecation warning

* fix sanity tests

* add changelog
2018-08-13 10:21:50 +02:00

24 lines
999 B
YAML

# Copyright (c) 2018, René Moser <mail@renemoser.net>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
---
- name: test gather vultr account facts in check mode
vultr_account_facts:
check_mode: yes
- name: verify test gather vultr account facts in check mode
assert:
that:
- ansible_facts.vultr_account_facts.balance is defined
- ansible_facts.vultr_account_facts.last_payment_amount is defined
- ansible_facts.vultr_account_facts.last_payment_date is defined
- ansible_facts.vultr_account_facts.last_payment_amount is defined
- name: test gather vultr account fact
vultr_account_facts:
- name: verify test gather vultr account facts
assert:
that:
- ansible_facts.vultr_account_facts.balance is defined
- ansible_facts.vultr_account_facts.last_payment_amount is defined
- ansible_facts.vultr_account_facts.last_payment_date is defined
- ansible_facts.vultr_account_facts.last_payment_amount is defined