mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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
|