Skip to content

Instantly share code, notes, and snippets.

Created October 25, 2016 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4c31e624b29c65ee50a6c946757908e8 to your computer and use it in GitHub Desktop.
Save anonymous/4c31e624b29c65ee50a6c946757908e8 to your computer and use it in GitHub Desktop.
generate_ssh_key_helen:
cmd.run:
- name: ssh-keygen -q -N '' -f /home/helen/.ssh/id_rsa
- runas: helen
- unless: test -f /home/helen/.ssh/id_rsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment