Created
January 10, 2014 09:06
-
-
Save k1LoW/8348869 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| - hosts: all | |
| vars: | |
| username: hogehoge | |
| sudo: true | |
| tasks: | |
| - name: add ssh user | |
| user: name={{ username }} comment="ssh user" | |
| - authorized_key: user={{ username }} key="{{ item }}" | |
| with_lines: | |
| - curl https://github.com/k1LoW.keys | |
| - curl https://github.com/withelmo.keys | |
| - curl https://github.com/yama23.keys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment