page_title | subcategory | description |
---|---|---|
morpheus_ansible_integration Resource - terraform-provider-morpheus |
Provides an ansible integration resource |
Provides an ansible integration resource
data "morpheus_key_pair" "tf_example_key_pair" {
name = "morpheusgit"
}
resource "morpheus_ansible_integration" "tf_example_ansible_integration" {
name = "tfexample ansible"
enabled = true
url = "https://github.com/gomorpheus/morpheus-ansible.git"
default_branch = "master"
playbooks_path = "/"
roles_path = "/roles"
group_variables_path = "/vars"
host_variables_path = "/vars"
enable_ansible_galaxy_install = true
enable_verbose_logging = true
enable_agent_command_bus = true
key_pair_id = data.morpheus_key_pair.tf_example_key_pair.id
enable_git_caching = true
}
name
(String) The name of the ansible integrationurl
(String) The url of the ansible repository
access_token
(String, Sensitive) The access token of the account used to authenticate to the ansible repositorydefault_branch
(String) The default branch of the ansible repositoryenable_agent_command_bus
(Boolean) Whether the agent command bus is used to execute the ansible playbookenable_ansible_galaxy_install
(Boolean) Whether to install the Ansible roles defined in the requirements.ymlenable_git_caching
(Boolean) Whether the git repository is cachedenable_verbose_logging
(Boolean) Whether verbose logging is used during the execution of the ansible playbookenabled
(Boolean) Whether the ansible integration is enabledgroup_variables_path
(String) The path in the repository of the Ansible group variables relative to the Git urlhost_variables_path
(String) The path in the repository of the Ansible host variables relative to the Git urlkey_pair_id
(Number) The ID of the key pair used to authenticate to the ansible repositorypassword
(String, Sensitive) The password of the account used to authenticate to the ansible repositoryplaybooks_path
(String) The path in the repository of the Ansible playbooks relative to the Git urlroles_path
(String) The path in the repository of the Ansible roles relative to the Git urlusername
(String) The username of the account used to authenticate to the ansible repository
id
(String) The ID of the ansible integration
Import is supported using the following syntax:
terraform import morpheus_ansible_integration.tf_example_ansible_integration 1