Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mikhail Sobolev
committed
Nov 17, 2014
1 parent
7147b8e
commit 0d5ca52
Showing
2 changed files
with
27 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Ansible | ||
======= | ||
|
||
Run ``ansible-playbook -i prod-hosts -s site.yml`` to configure the production site. | ||
|
||
Development | ||
----------- | ||
|
||
During development, you may create a ``dev-hosts`` file containing your test hosts, and an unencrypted ``dev-secrets.yml`` file containing any necessary (cleartext) secrets. | ||
Then run ``ansible-playbook -s site.yml`` to test your changes. | ||
|
||
Secrets | ||
------- | ||
|
||
Secrets are stored in ``secrets.yml`` in the top-level directory, which is encrypted with `ansible-vault <http://docs.ansible.com/playbooks_vault.html>`__. | ||
To run Ansible with these production secrets, you will need to supply a shared vault password. | ||
|
||
All secrets are loaded into Ansible variables. | ||
By convention, these variables should be named with the prefix ``secret_``. | ||
|
||
You can edit the secrets with ``ansible-vault edit secrets.yml``. | ||
|
||
Other files | ||
=========== | ||
|
||
- buildbot.asc - Buildbot Release Team Keyring | ||
- scripts/ - some scripts not under configuration management yet |