24 lines
999 B
YAML
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
|