Changeset - dafea09ca108
[Not reviewed]
0 1 0
Branko Majic (branko) - 7 years ago 2018-10-30 00:32:17
branko@majic.rs
MAR-132: Updated test site instructions:

- Mention that either Jessie or Stretch can be used for installation.
- Updated command for getting the SSH key fingerprints to use the dig
tool.
1 file changed with 3 insertions and 5 deletions:
0 comments (0 inline, 0 general)
docs/development.rst
Show inline comments
 
@@ -600,25 +600,23 @@ In order to deploy the test site, the following steps would normally be taken:
 
8. Generate the preseed files:
 

	
 
  .. code-block:: shell
 

	
 
     ansible-playbook playbooks/preseed.yml
 

	
 
9. Install all servers using the generated preseed files. All servers except
 
   ``ws01.example.com`` are supposed to be running *Debian 8 Jessie*. The server
 
   ``ws01.example.com`` is meant to run *Debian 9 Stretch* (althogh, Debian
 
   Jessie should function as well).
 
9. Install all servers using the generated preseed files. Use *Debian
 
   8 Jessie* or *Debian 9 Stretch* in any combination desired.
 

	
 
10. Add the SSH host fingerprints to your ``known_hosts`` file (don't forget to
 
    remove old entries if you are redoing the process). You can easily obtain all
 
    the necessary fingerprints with command (don't forget to modify domain if you
 
    need to):
 

	
 
    .. code-block:: shell
 

	
 
      ssh-keyscan -t ed25519 mail.example.com ldap.example.com xmpp.example.com web.example.com backup.example.com ws01.example.com $(resolveip -s mail.example.com) $(resolveip -s ldap.example.com) $(resolveip -s xmpp.example.com) $(resolveip -s web.example.com) $(resolveip -s backup.example.com) $(resolveip -s ws01.example.com)
 
      ssh-keyscan -t ed25519 mail.example.com ldap.example.com xmpp.example.com web.example.com backup.example.com ws01.example.com $(dig +short mail.example.com) $(dig +short ldap.example.com) $(dig +short xmpp.example.com) $(dig +short web.example.com) $(dig +short backup.example.com) $(dig +short ws01.example.com)
 

	
 
11. Invoke the ``bootstrap.yml`` playbook in order to set-up some basic
 
    environment for Ansible runs on all servers:
 

	
 
    .. code-block:: shell
 

	
0 comments (0 inline, 0 general)