community.general.stacki_host – Add or remove host to stacki front-end¶
Note
This plugin is part of the community.general collection (version 1.3.6).
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.stacki_host
.
Parameters¶
Examples¶
- name: Add a host named test-1
community.general.stacki_host:
name: test-1
stacki_user: usr
stacki_password: pwd
stacki_endpoint: url
prim_intf_mac: mac_addr
prim_intf_ip: x.x.x.x
prim_intf: eth0
- name: Remove a host named test-1
community.general.stacki_host:
name: test-1
stacki_user: usr
stacki_password: pwd
stacki_endpoint: url
state: absent
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Hugh Ma (@bbyhuy) <Hugh.Ma@flextronics.com>