- BAM
- BDDS
BAM Playbooks
Unless specified, the properties to include in a post or patch action are optional. If included, properties must appear in the json_data. If using default values for the configuration or view inputs, the values do not need to be included in the resource_path, as configured in the Gateway server.
Playbook | Function | Inputs | Example |
---|---|---|---|
add_cname_record.yml | Creates a CNAME record in the specified DNS zone. |
|
|
add_configuration.yml | Creates a configuration object in Address Manager. |
|
|
add_dns_zone.yml | Creates a sub-zone object in Address Manager. |
|
|
add_external_host_record.yml | Creates an external host record for use in a specified view. |
|
|
add_host_record.yml | Creates a host record in the specified zone. The provided playbook assumes creation in the default configuration and view. |
|
|
add_ip4_block.yml |
Creates a block with a specific IP address. |
|
|
add_ip4_network.yml | Creates an IP4 network in the specified IP4 block. The provided playbook assumes the need to only traverse 3 IP4 blocks to reach the target, but there is no limit to the number of blocks that can be included in the block value. |
|
|
add_next_available_ip.yml | Assigns the next available address in the specified IP4 network. The following are supported values for the action to take:
|
|
|
add_next_available_ip4_network.yml | Creates the next available IP4 network in the specified IP4 block. The provided playbook assumes the need to only traverse 3 IP4 blocks to reach the target, but there is no limit to the number of blocks that can be included in the block value. |
|
|
add_range_to_network.yml | Creates a range of IP addresses for the specified network. |
|
|
add_tld_zone.yml | Creates a top-level zone object in Address Manager. |
|
|
add_view.yml | Add a new view in Address Manager. |
|
|
delete_cname.yml | Deletes a CNAME record from the specific view. |
|
|
delete_external_host_record.yml | Deletes an external host record from the specified view. |
|
|
delete_host_record.yml | Deletes a specified host record. The provided playbook assumes the host record is in the default configuration and view. |
|
|
get_cname_record.yml | Returns the Address Manager entity for the specified CNAME. The provided playbook assumes the zone is in the default configuration and view. |
|
|
get_configuration.yml | Returns an Address Manager entity the specified configuration. |
|
|
get_configurations.yml | Returns an Address Manager entity for each configuration in Address Manager. | None |
|
get_dns_zone.yml | Returns an Address Manager entity for the specified zone. The provided playbook assumes the zone is in the default configuration and view. |
|
|
get_dns_zones.yml | Returns an Address Manager entity for each zone under the specified zone. The provided playbook assumes the zone is in the default configuration and view. |
|
|
get_host_record.yml | Returns an Address Manager entity for the specified host. The provided playbook assumes the host is in the default configuration and view. |
|
|
get_ip4_block.yml | Returns an Address Manager entity for the specified IP4 block. The provided playbook assumes the IP4 block is in the default configuration. |
|
|
get_ip4_blocks.yml | Returns an Address Manager entity for each IP4 block under the specified IP4 block. The provided playbook assumes the IP4 block is in the default configuration. |
|
|
get_ip4_network.yml | Returns an Address Manager entity for the specified IP4 network. |
|
|
get_ip4_networks.yml | Returns an Address Manager entity for each IP4 network under the specified IP4 block. The provided playbook assumes the IP4 block is in the default configuration. |
|
|
get_next_available_ip.yml | Returns an Address Manager entity for the next available IP address in the specified IP4 network. |
|
|
get_view.yml | Returns an Address Manager entity for the specified view. |
|
|
patch_host_record.yml | Updates the specified host record with a new IP address, TTL, or property. The provided playbook assumes the host is in the default configuration and view. |
|
|
query_dns.yml | Uses the dnspython library to execute DNS queries. | N/A | See playbook for scripting example |
reserve_ip.yml | Assigns the specified IP4 address as DHCP Reserved. |
|
|
search_for_hosts_by_hint.yml |
Searches Address Manager for host records matching the provided hint. The host_hint value accepts the following basic regex characters:
|
|
|
search_for_objects.yml |
Searches Address Manager for objects of any supported type that match the provided keyword, filtering on property values. Only the first 1000 results will be returned. The search_filters must be a list of property=value pairs, separated by commas or “/search/”. For more information on supported object types, refer to the Address Manager API Guide. The search_pattern value accepts the following basic regex characters:
|
|
|
BDDS Playbooks
The following playbooks allow for the automation of some configuration tasks in a DNS/DHCP Server and require the server be included in the list of inventory hosts. All listed inputs are mandatory.
Playbook | Function | Inputs |
---|---|---|
add_name_server.yml | Adds a name server to the name server configuration via the Admin CLI and updates the resolv.conf file. |
|
change_ip_address.yml |
Modifies the IP address of the DNS/DHCP Server. Prior to executing this playbook, you must first either disable the server in Address Manager or execute the remove_server_from_BAM_control.yml playbook. The server will also need to be replaced in Address Manager to re-establish proper management connectivity. Note:
|
|
custom_ntp.yml | Replaces the default ntp.conf file with a custom configuration. If you are managing service configuration from Address Manager, the NTP service will indicate it is in manual override. Any updates from Address Manager will overwrite the custom configuration. |
|
custom_syslog.conf | Adds a custom syslog configuration to the default configuration. If a custom configuration directory already exists, there is no requirement to create a new one – multiple configuration files can be included in a single directory. |
|
license.server.yml | Updates the license information of a virtual DNS/DHCP Server. A valid license is required for deployment and management of virtual servers. If you are unsure of your license information, contact BlueCat Customer Care or your BlueCat Account Executive. |
|
remove_name_server.yml | Removes a name server from the name server configuration via the Admin CLI and updates the resolv.conf file. |
|
remove_server_from_BAM_control.yml |
Breaks the management connection between Address Manager and the affected server and should only be used if modifying an IP address of a managed server or after a server has been disabled in Address Manager. Note: This playbook does not support removing XHA cluster nodes from
Address Manager control.
|
|
set_default_gateway.yml |
Configures the default gateway for the services interface through the Admin CLI and updates routes as appropriate. Note: This playbook should be used in conjunction with the
change_ip_address.yml playbook to ensure proper
connectivity.
|
|
set_time_zone.yml |
Updates the server’s time zone through the Admin CLI, including the required reboot to complete the change. The accompanying time_zones.csv file can be used to determine the required values. For example, the values for setting the time zone to Eastern Time (Toronto) are:
|
|