Server Initialization


At the end of this section, you should have the server initialized with a user user, and the root (or other sudo) user removed.


User credentials in LastPass

Currently you should have root (or root like) user access to your server. Ansible will later create a Linux user on your server (with default username user).


Ansible can generate Linux user password and save user credentials to LastPass automatically - in this case you can skip to the next section, portal-setup-initial.

Setting user credentials manually (optional)

If you prefer to manually create the login information, you can do so.
In your LastPass account, you will then need to create an entry for the server as seen below. Updating <server name> with the name of your server, i.e. us-west, and domain with your domain, i.e. Ansible will pull this information from LastPass in order to create the user user on the server with the provided password.
If you are setting up a single server portal you can leave out the server name and just use your domain as you did in the DNS Setup.
This LastPass entry is what is used to create the user profile on the server. Set the Site password to a strong password, like one generated from


Prepare your local machine for running ansible by following the setup requirements here.

Portal Setup Initial

To set up the portal, you will need to run the ansible script. At this point you should have all the prerequisites complete except for:
  • Logging in to LastPass with the script
  • Check if you need to set any values in my-vars/config.yml
  • Adding your server to your hosts.ini file
After successfully running the script you are ready to continue on to the Single Portal Setup.