mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
609 B
YAML
26 lines
609 B
YAML
6 years ago
|
- name: Generate privatekey1 - standard
|
||
|
connection: local
|
||
|
openssh_keypair:
|
||
|
path: '{{ output_dir }}/privatekey1'
|
||
|
|
||
|
- name: Generate privatekey2 - size 2048
|
||
|
openssh_keypair:
|
||
|
path: '{{ output_dir }}/privatekey2'
|
||
|
size: 2048
|
||
|
|
||
|
- name: Generate privatekey3 - type dsa
|
||
|
openssh_keypair:
|
||
|
path: '{{ output_dir }}/privatekey3'
|
||
|
type: dsa
|
||
|
|
||
|
- name: Generate privatekey4 - standard
|
||
|
openssh_keypair:
|
||
|
path: '{{ output_dir }}/privatekey4'
|
||
|
|
||
|
- name: Delete privatekey4 - standard
|
||
|
openssh_keypair:
|
||
|
state: absent
|
||
|
path: '{{ output_dir }}/privatekey4'
|
||
|
|
||
|
- import_tasks: ../tests/validate.yml
|