HomeDevCentral

Provision Zemke Rhyne key on Docker servers

Authored by dereckson on Sep 8 2018, 08:54.

Description

Provision Zemke Rhyne key on Docker servers

Summary: Ref T1411

Test Plan:

$ salt equatower state.apply roles/paas-docker/zemke-rhyne
equatower:
[…]
----------
          ID: zr_key
    Function: cmd.run
        Name: ssh-keygen -N '' -t ed25519 -f /etc/zr/id_zr
      Result: True
     Comment: Command "ssh-keygen -N '' -t ed25519 -f /etc/zr/id_zr" run
     Started: 08:55:41.873441
    Duration: 32.524 ms
     Changes:
              ----------
              pid:
                  30864
              retcode:
                  0
              stderr:
              stdout:
                  Generating public/private ed25519 key pair.
                  Your identification has been saved in /etc/zr/id_zr.
                  Your public key has been saved in /etc/zr/id_zr.pub.
                  The key fingerprint is:
                  SHA256:R9uN7zIyGTdBRwEyfL5ikNa2QLUSfx1a1qStn90CHEk root@equatower.nasqueron.org
                  The key's randomart image is:
                  +--[ED25519 256]--+
                  |        .o+ Eo*+.|
                  |        .o.=o*.+.|
                  |       ..o++=.o .|
                  |        =oo=o+ . |
                  |       .S+o.=oo  |
                  |         .= +o .+|
                  |         . = .o.+|
                  |          + o. . |
                  |           o o.  |
                  +----[SHA256]-----+

Summary for equatower
------------
Succeeded: 2 (changed=1)
Failed:    0
------------
Total states run:     2
Total run time:  42.234 ms

Reviewers: dereckson

Reviewed By: dereckson

Maniphest Tasks: T1411

Differential Revision: http://devcentral.nasqueron.org/D1679