2018-01-21 21:54:12 +00:00
|
|
|
# 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
|
2018-08-13 08:21:50 +00:00
|
|
|
vultr_account_facts:
|
2018-01-21 21:54:12 +00:00
|
|
|
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
|
2018-08-13 08:21:50 +00:00
|
|
|
vultr_account_facts:
|
2018-01-21 21:54:12 +00:00
|
|
|
- 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
|