Use FQCN in examples. (#12)

This commit is contained in:
Felix Fontein
2020-03-31 16:23:45 +02:00
committed by GitHub
parent bffd7b0ce9
commit 4d157b93ee
24 changed files with 123 additions and 123 deletions

View File

@@ -101,21 +101,21 @@ extends_documentation_fragment: files
EXAMPLES = '''
# Generate an OpenSSH keypair with the default values (4096 bits, rsa)
- openssh_keypair:
- community.crypto.openssh_keypair:
path: /tmp/id_ssh_rsa
# Generate an OpenSSH rsa keypair with a different size (2048 bits)
- openssh_keypair:
- community.crypto.openssh_keypair:
path: /tmp/id_ssh_rsa
size: 2048
# Force regenerate an OpenSSH keypair if it already exists
- openssh_keypair:
- community.crypto.openssh_keypair:
path: /tmp/id_ssh_rsa
force: True
# Generate an OpenSSH keypair with a different algorithm (dsa)
- openssh_keypair:
- community.crypto.openssh_keypair:
path: /tmp/id_ssh_dsa
type: dsa
'''