...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
ce7596da4f
commit
ce1e2453cb
34
test.yml
34
test.yml
@ -1,21 +1,17 @@
|
|||||||
- name: Create new container with minimal options
|
|
||||||
community.general.proxmox:
|
|
||||||
vmid: 100
|
|
||||||
node: uk-mc02
|
|
||||||
api_user: root@pam
|
|
||||||
api_password: 1q2w3e
|
|
||||||
api_host: node1
|
|
||||||
password: 123456
|
|
||||||
hostname: example.org
|
|
||||||
ostemplate: 'local:vztmpl/ubuntu-14.04-x86_64.tar.gz'
|
|
||||||
|
|
||||||
- name: Create new container automatically selecting the next available vmid.
|
---
|
||||||
community.general.proxmox:
|
|
||||||
node: 'uk-mc02'
|
- name: Hello World
|
||||||
api_user: 'root@pam'
|
gather_facts: false
|
||||||
api_password: '1q2w3e'
|
hosts: all
|
||||||
api_host: 'node1'
|
tasks:
|
||||||
password: '123456'
|
|
||||||
hostname: 'example.org'
|
- name: Get config for VyOS devices
|
||||||
ostemplate: 'local:vztmpl/ubuntu-14.04-x86_64.tar.gz'
|
vyos.vyos.vyos_facts:
|
||||||
|
gather_subset: all
|
||||||
|
|
||||||
|
- name: Display the config
|
||||||
|
debug:
|
||||||
|
msg: "The hostname is {{ ansible_net_hostname }} and the OS is {{ ansible_net_version }}"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user