ansible-playbook
brunordias/ansible-playbook/null
Terraform module which run a Ansible Playbook
Ansible Playbook Terraform module Terraform module which run a Ansible Playbook Terraform versions Terraform 0.12 Requirements ansible-playbook ~> 2.9 on local machine. Providers | Name | Version | |------|---------| | null | n/a | Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | ansible\_host\_key\_checking | Ansible variable to host key checking | bool | false | no | | ansible\_playbook\_path | ansible-playbook command path | string | ansible-playbook | no | | ansible\_ssh\_retries | Ansible variable to retry SSH connection. This is important to wait SSH connections in new instances. | number | 30 | no | | playbook | Path to playbook file. | string | n/a | yes | | private\_key | Path to SSH private key file. | string | n/a | y
| Name | Type | Description | Default |
|---|---|---|---|
| private_key | string | Path to SSH private key file. | required |
| remote_user | string | The remote user name. | required |
| playbook | string | Path to playbook file. | required |
| remote_host | string | Remote host IP or FQDN, for example, instance private IP. | required |
| trigger | string | Information to trigger execution, for example, EC2 instance ID or some timestamp | required |
| ansible_ssh_retries | number | Ansible variable to retry SSH connection. This is important to wait SSH connecti | 30 |
| ansible_host_key_checking | bool | Ansible variable to host key checking | false |
| ansible_playbook_path | string | ansible-playbook command path | "ansible-playbook" |