- OS : Ubuntu Server 16.04 LTS
- Web Server : Nginx via Easy Engine
Ref :
| # TODO: THIS FILE MIGHT HAVE TO GO TO OWN FOLDER database/main.tf | |
| variable "security_group_ids" { | |
| description = "Ids of VPC Security groups" | |
| type = list(string) | |
| } | |
| variable "database_password" { | |
| description = "Enter a new root SQL password. This variable is ignored if the DB is already set up." | |
| type = string |
| - hosts: all | |
| vars: | |
| node_version: "0.10.28" | |
| tasks: | |
| - name: Check for node.js | |
| shell: test "$(node -v 2> /dev/null)" = v{{node_version}} | |
| register: nodejs_installed | |
| ignore_errors: True | |
| tags: | |
| - nodejs |
Ref :