Skip to content

Instantly share code, notes, and snippets.

@jlund
Created January 29, 2014 22:20
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 jlund/8698332 to your computer and use it in GitHub Desktop.
Save jlund/8698332 to your computer and use it in GitHub Desktop.
Ansible authorized_key module example
- name: Set up authorized_keys for the deploy user
authorized_key: user=deploy
state=present
key="{{ item }}"
with_file:
- public_keys/lund-joshua
- public_keys/smith-john
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment