...
Our Ansible configuration is stored on Bitbucket (see below for the URL).
Once you check out the above git repository from BitBucket, you'll find a more detailed description of the organization of our Ansible code at
at https://bitbucket.org/ChemicalHeritageFoundation/ansible-inventory/src/master/README.md.git .
Overview of the codebase
...
ls -1 ansible-inventory/group_vars | while read N ; do echo $N: ; \
ansible-vault --vault-password-file FILE_CONTAINING_PASSWORD \
view ansible-inventory/group_vars/$N | grep -i STRING_TO_LOOK_FOR ; done
...
More details
- https://bitbucket.org/ChemicalHeritageFoundation/ansible-inventory/src/master/README.md .
- ansible-inventory is based on the Ansible-Hydra codebase, developed for us by DCE. See Ansible-Hydra Submodule
...
- for more details about this project.
- Best practices for editing Ansible: Editing Ansible
Building a new machine on AWS with Ansible
...
- Generate a new ssh key on AWS (EC2 > Keypairs)
- place it in ~/.ssh
- chmod 0600.
- useful command if you're having problems with the key: $ openssl rsa -in chf_prod.pem -check
Git repositories for ansible - structure and use (this section is out of date; )
This section is out of date; we no longer use the git submodule as described here.
The code we use to administer Sufia via Ansible lives at https://github.com/curationexperts/ansible-hydra
...