summaryrefslogtreecommitdiffstats
path: root/roles/ssh/meta/argument_specs.yml
blob: 81ab218f0d3da4d754652d15e33796122d901be1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
argument_specs:
  main:
    options:
      username:
        type: "str"
        required: true
        description: "The username of the account to add to ssh."
      ssh_port:
        type: "int"
        required: false
        default: 2222
        description: "The default ssh port configuration (to avoid port 22 pwn/testing)"
      ssh_known_hosts:
        type: "list"
        elements: "str"
        required: false
        description: "List of SSH known_hosts entries in 'hostname keytype keydata' format"
      ssh_private_key:
        type: "str"
        required: true
        description: "Pre-generated Ed25519 host private key (OpenSSH format), unique per host"
      ssh_public_key:
        type: "str"
        required: true
        description: "Pre-generated Ed25519 host public key matching ssh_private_key"