Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README.md

marvin

Marvin Image CC-BY-SA John Greenaway

Marvin manages our servers using ansible.

To use the Ansible playbooks, you need to

  1. install ansible on your local host.
  2. clone this repo
  3. setup credentials (copy files from AWS S3 to ./host_vars and ./vars aws s3 sync s3://sysadmin/marvin/host_vars/ host_vars/ && aws s3 sync s3://sysadmin/marvin/vars/ vars/. You'll need the AWS CLI installed and the correct credentials set up.
  4. setup access to the remote hosts: copy your public key to the remote host: ssh-copy-id -i ~/.ssh/id_rsa.pub user@host.org
  5. put the vault password in ~/.vault_pass.txt on your local host
  6. run the relevant playbook: ansible-playbook -v --vault-password-file=~/.vault_pass.txt -i inventory.ini learningcircles.yml

Here are the different plays:

  1. learningcircles.yml - learningcircles.p2pu.org
  2. staging-learningcircles.yml - staging-learningcircles.p2pu.org
  3. community.yml - community.p2pu.org
  4. discourse.yml - discourse.p2pu.org
  5. etherpad.yml - etherpad.p2pu.org
  6. lernanta.yml - courses.p2pu.org (legacy)
You can’t perform that action at this time.