16 lines
315 B
YAML
16 lines
315 B
YAML
|
#!/usr/bin/ansible-playbook
|
||
|
# vim:ft=ansible:
|
||
|
---
|
||
|
- name: Set up AWS credentials for root
|
||
|
block:
|
||
|
- name: Create .aws directory
|
||
|
file:
|
||
|
path: ~/.aws
|
||
|
state: directory
|
||
|
- name: Copy AWS credentials
|
||
|
copy:
|
||
|
src: awscredentials
|
||
|
dest: ~/.aws/credentials
|
||
|
mode: "0600"
|
||
|
become: true
|