How to use awscli on CentOS6"
I always forget how to use awscli on CentOS6 which pip doesn't support to install awscli with python2.6. I forgot how many times I installed... I have to memorize how to do it.
I wrote it as ansible playbook.
- hosts: all gather_facts: no tasks: - yum: name: epel-release state: present become: yes - yum: name: https://centos6.iuscommunity.org/ius-release.rpm state: present become: yes - yum: name: python36* state: present become: yes - shell: | python3.6 -m venv ".e" creates: .e - shell: | ~/.e/bin/pip install awscli creates: .e/lib/python3.6/site-packages/awscli