Created
November 30, 2017 09:49
-
-
Save jrisch/d3a8bd6d42a9e0eb62f2637348204467 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Load VPS specs for chosen type | |
set_fact: | |
memory: "{{ lookup('csvfile', '{{ vps_type }} file=vmtypes.csv delimiter=, col=3') }}" | |
cpu_weight: "{{ lookup('csvfile', '{{ vps_type }} file=vmtypes.csv delimiter=, col=2') }}" | |
disksize: "{{ lookup('csvfile', '{{ vps_type }} file=vmtypes.csv delimiter=, col=1') }}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment