Use VULTR_API_CONFIG variable if set (#1374)

This commit is contained in:
David Myers 2019-04-06 06:49:25 -04:00 committed by Jack Ivanov
parent cf4d5b47a9
commit d50a2039a6

View file

@ -4,7 +4,9 @@
Enter the local path to your configuration INI file
(https://trailofbits.github.io/algo/cloud-vultr.html):
register: _vultr_config
when: vultr_config is undefined
when:
- vultr_config is undefined
- lookup('env','VULTR_API_CONFIG')|length <= 0
- name: Set the token as a fact
set_fact: