Sha256: a6b091855bec0d8e160be681a13dce2abd6e792bcfab09d5d78a589133951eb1
Contents?: true
Size: 529 Bytes
Versions: 22
Compression:
Stored size: 529 Bytes
Contents
<%# name: Ansible Tower - Host in Inventory description: Create/update a host with associated inventory in Ansible Tower. snippet: false model: WebhookTemplate -%> <%# Create URL: https://tower/api/v2/hosts Update/Delete URL: https://tower/api/v2/hosts/$HOST_ID -%> <%= payload({ "name": @object.name, "description": "Created via Foreman Webhook", "inventory": @object.host_param('ansible_tower_inventory_id') || 1, "enabled": true, "instance_id": "", "variables": "" }, with_defaults: false) -%>
Version data entries
22 entries across 22 versions & 1 rubygems