diff options
Diffstat (limited to 'roles/pipeliner/tasks/auth.yml')
-rw-r--r-- | roles/pipeliner/tasks/auth.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/pipeliner/tasks/auth.yml b/roles/pipeliner/tasks/auth.yml new file mode 100644 index 0000000..f2f060a --- /dev/null +++ b/roles/pipeliner/tasks/auth.yml @@ -0,0 +1,14 @@ +--- +# This will be unnecessary once IAM stuff is set up correctly + +- name: Create AWS config directory + file: + path: /home/{{ ansible_user }}/.aws + state: directory + mode: 0755 + +- name: Install AWS credentials + copy: + src: /home/nick/.aws/credentials + dest: /home/{{ ansible_user }}/.aws/credentials + mode: 0600 |