![]() This will configure Apache to make ownCloud reachable for your browser. Inside your ansible directory also create a file called owncloud.j2. YOUR_KEY_PATH is the path to your private SSH key. This is where Ansible will be connecting to. Make sure to replace YOUR_INSTANCE_IP with the (Floating) IP from your instance. YOUR_INSTANCE_IP ansible_ssh_private_key_file=YOUR_KEY_PATH Open fuga_hosts (nano fuga_hosts) and copy paste the following: Īnsible_python_interpreter=/usr/bin/env python3 You need to create this template file inside your ansible directory by using the following command: touch fuga_hosts The Ansible script uses a template file to make sure Ansible is being executed with Python3 on your instance. Install Ansible with pip3 on your machine where you will run the ansible script (not your ownCloud instance): sudo apt updateĬreate a new folder called ansible: mkdir ansible Step 3: Using Ansible to deploy ownCloud on your Fuga instance Select your instance in the Attach to Instance dropdown list and click on Attach volume.Click on the down arrow right of the Edit Volume button and select Manage Attachments.Your volume should now be visible in the Volumes tab Give the volume the size that you like for example 100GB.In the dropdown list, Volume Source select No source, empty volume.Give the volume a name and description to your liking.Click on the Storage tab and select Volume Store.Click Save to update the security groups.Click on the + button that belongs to your newly made security group.Click on the down arrow right of the Create snapshot button and click on Edit security groups.To assign the new security group to your Instance open the Compute tab and select Instances.Repeat step 4 and select HTTPS and click on Add.From the dropdown list Rule select HTTP and click on Add.Click on the button Manage Rules that belong to the newly created security group. ![]() Click on the button Create security group Click on the button Create security group and give it a name and a description to your liking.Click on the networking tab and select Security Group.To access ownCloud from outside your instance, you need to open the HTTP and HTTPS ports. ![]() If you have followed that tutorial you can skip step 1 and 2 Step 1: Creating security groups for HTTP(S) access How to deploy Fuga Cloud infrastructure with Ansible. You can deploy the instance and volume needed for this tutorial using the following Ansible tutorial.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |