MOTOSHARE 🚗🏍️
Turning Idle Vehicles into Shared Rides & Earnings
From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.
With Motoshare, every parked vehicle finds a purpose.
Owners earn. Renters ride.
🚀 Everyone wins.
provider “aws” {
access_key = “”
secret_key = “”
region = “eu-east-2”
}
resource “aws_instance” “web” {
ami = “ami-xbbsj”
instance_type = “t2.micro”
count = 1
tags = {
Name = “Demo”
}
}
provisioner “file” {
source = “conf/install-apache.yml”
destination = “/etc/install-apache.yml”
}
provisioner “remote-exec” {
inline = [“sudo apt update”, “sudo apt install python3 -y”, “sudo apt install ansible -y”]
connection {
host = self.ipv4_address
type = "ssh"
user = "root"
private_key = file(var.pvt_key)
}Code language: PHP (php)
}
provisioner “local-exec” {
command = “ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -u root -i ‘${self.ipv4_address},’ –private-key ${var.pvt_key} -e ‘pub_key=${var.pub_key}’ install-apache.yml”
}
}
install-apache.yml
-name=install_httpd
hosts=webserver
tasks=
-name:install httpd in server
yum:
name: httpd
state: latest