- pip: name=awscli state=present

tasks:
  - pip: name=awscli state=present
    sudo: yes
  - shell: region=$(curl -s http://169.254.169.254/latest/dynamic/instance-identity/document | awk -F\" '/region/ {print $4}'); aws configure set region $region


Complete awscli role for ansible
Complete awscli role for ansible
