mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-04-09 20:19:24 -02:30
* project: fix outdated tag and experimental Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: remove no longer useful noqa 301 Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: replace unnamed-task by name[missing] Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> * project: fix daemon-reload -> daemon_reload Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch> --------- Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
16 lines
314 B
YAML
16 lines
314 B
YAML
---
|
|
|
|
- name: Query Azure VMs
|
|
command: azure vm list-ip-address --json {{ azure_resource_group }}
|
|
register: vm_list_cmd
|
|
|
|
- name: Set vm_list
|
|
set_fact:
|
|
vm_list: "{{ vm_list_cmd.stdout }}"
|
|
|
|
- name: Generate inventory
|
|
template:
|
|
src: inventory.j2
|
|
dest: "{{ playbook_dir }}/inventory"
|
|
mode: 0644
|