Commit 45c5f436 authored by K's avatar K
Browse files

Updated documentation, tweaked Ansible scripts

parent d9aa62f0
This diff is collapsed.
nextcloud:
signalboost:
hosts:
{{ IP ADDRESS OF YOUR REMOTE HOST }}
%server_ipaddress%
vars:
ansible_user: {{ YOUR USERNAME }}
ansible_ssh_private_key_file: {{ PATH TO YOUR SSH PRIVATE KEY }}
ansible_ssh_common_args: '-o IdentitiesOnly=yes'
# username and ssh key to log in the server
ansible_user: %server_login_name%
ansible_ssh_private_key_file: %path/to/ssh_privatekey1%
# sudo password to grant root access
ansible_become_password: %server_login_sudopassword%
ansible_ssh_common_args: "-o IdentitiesOnly=yes"
# admin accounts to create on the server (optional)
admins:
- name: {{ USERNAME OF AN ADMIN }}
ssh_key: {{ SSH PUBKEY OF AN ADMIN }}
- name: {{ USERNAME OF ANOTHER ADMIN }}
ssh_key: {{ SSH PUBKEY OF ANOTHER ADMIN }}
- name: %ansible_user account here!%
ssh_key: "{{ lookup('file', '%path/to/ssh_pubkey1%') }}"
- name: %newadminname%
ssh_key: "{{ lookup('file', '%path/to/other_ssh_pubkey%') }}"
......@@ -116,7 +116,7 @@
# AVAILABILITY CHECK #
######################
- name: Ping nextcloud instance until it is available
- name: Ping instance until it is available
shell: SIGNALBOOST_API_TOKEN="{{ api_token }}" SIGNALBOOST_HOST_URL="{{ host_url }}" ./bin/check-availability
args:
chdir: "{{ homedir }}"
......
......@@ -4,7 +4,6 @@
hosts: signalboost
vars:
ansible_user: root
secrets_method: copy
# docker dependencies (pip packages)
pip_install_packages:
......
......@@ -21,9 +21,8 @@ SIGNAL_CLI_PASSWORD=%SOME STRONG PASSWORD%
TWILIO_ACCOUNT_SID=%HEX STRING%
TWILIO_AUTH_TOKEN=%HEX STRING%
# ngrok
# NOTE: you only need this for development purposes. ignore if you only want to deploy to production
# NOTE: you only need this for development purposes. ignore if you only want to deploy to production.
NGROK_AUTH_TOKEN=%43_BYTE_HEX STRING%
NGROK_SUBDOMAIN=%NAME OF CUSTOM SUBDOMAIN REGISTERED WITH NGROK%
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment