diff options
author | Christian Pointner <equinox@spreadspace.org> | 2024-08-24 19:25:40 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2024-08-24 19:25:40 +0200 |
commit | b17c559251dfd157fe2cf220044887f08208bb3c (patch) | |
tree | f395cb16d81a65955f9a12a88c9eab862848d976 /elevate/vm-deploy.yml | |
parent | allow ssh jump users to also do reverse forwards (diff) |
split environment group dan to skillz and elevate
Diffstat (limited to 'elevate/vm-deploy.yml')
-rw-r--r-- | elevate/vm-deploy.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/elevate/vm-deploy.yml b/elevate/vm-deploy.yml new file mode 100644 index 00000000..8530b14a --- /dev/null +++ b/elevate/vm-deploy.yml @@ -0,0 +1,18 @@ +--- +- name: generate os image + hosts: "{{ install_hostname }}" + connection: local + gather_facts: no + roles: + - role: "installer/{{ install_distro }}/image" + +- name: cook variables for host + hosts: "{{ install_hostname }}" + gather_facts: no + tasks: + - set_fact: + install: "{{ install | default({}) }}" + network: "{{ network | default({}) }}" + vm_host: "{{ vm_host | default({}) }}" + +- import_playbook: ../common/vm-deploy.yml |