Changeset 8b7e2c00 in darkpeak-services


Ignore:
Timestamp:
Jul 15, 2018, 10:50:09 AM (2 years ago)
Author:
Caolan McMahon <caolan.mcmahon@…>
Branches:
ansible, keycloak, master, matrix, pleroma
Children:
161b93ae
Parents:
723529b4
Message:

Add deployment instructions for production

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

    r723529b4 r8b7e2c00  
    55/dev-playbook.yml
    66/dev-playbook.retry
     7/roles/tls/files/ssl/darkpeak.org.pem
  • README.md

    r723529b4 r8b7e2c00  
    9292
    9393This ansible file will disable password-based authentication, so make
    94 sure you add your SSH public keys to /root/.ssh/authorized_keys.
     94sure you add your SSH public keys to /root/.ssh/authorized_keys before
     95doing the first deployment.
     96
     97After the first deployment you must make sure that you set `first_run`
     98to `false` in `prod-playbook.yml`.
     99
     100Create a `hosts` file which includes the hostname(s) to deploy to, one
     101per line. Copy the production SSL certificate to
     102`roles/tls/files/ssl/darkpeak.org.pem` (this will not be necessary
     103after we switch to Let's Encrypt).
     104
     105You will need the vault password and an authorized SSH key in order to
     106deploy.
     107
     108
     109    ansible-playbook -i hosts --ask-vault-pass --user root prod-playbook.yml
Note: See TracChangeset for help on using the changeset viewer.