Last active
June 16, 2017 13:29
-
-
Save alnutile/e20676d5f5bc05f1b02827912d1a4547 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
--- | |
- name: Create Oauth Keys | |
become: yes | |
become_user: catuser | |
command: php /home/{{ user }}/app/artisan passport:keys --quiet | |
ignore_errors: true | |
- name: Install for s3 module | |
pip: | |
name: boto | |
become: yes | |
- name: Put Private keys on server | |
s3: | |
bucket: det-digitalassetshub | |
region: eu-west-1 | |
object: /provision/{{ app_env }}/oauth-private.key | |
src: /home/{{ user }}/app/storage/oauth-private.key | |
mode: put | |
- name: Put Public keys on server | |
s3: | |
bucket: det-digitalassetshub | |
region: eu-west-1 | |
object: /provision/{{ app_env }}/oauth-public.key | |
src: /home/{{ user }}/app/storage/oauth-public.key | |
mode: put |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment