ansible-playbooks/shared-roles/common-os-tasks/tasks/install_aws_cli.yml [12:28]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- name: Ensure tmp dir for AWS exists
  file:
    name: "{{ aws_installer_dir }}"
    state: directory
    mode: 0777

- name: Download AWS CLI
  get_url:
    url: https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip
    dest: "{{ aws_installer_dir }}/awscliv2.zip"
    mode: '0777'

- name: Unzip AWS CLI install package
  unarchive: 
    remote_src: yes
    src: "{{ aws_installer_dir }}/awscliv2.zip"
    dest: "{{ aws_installer_dir }}"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



jenkins-as-code/roles/ansible-role-aws-tools/tasks/install_cli.yml [6:22]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- name: Ensure tmp dir for AWS exists
  file:
    name: "{{ aws_installer_dir }}"
    state: directory
    mode: 0777

- name: Download AWS CLI
  get_url:
    url: https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip
    dest: "{{ aws_installer_dir }}/awscliv2.zip"
    mode: '0777'

- name: Unzip AWS CLI install package
  unarchive: 
    remote_src: yes
    src: "{{ aws_installer_dir }}/awscliv2.zip"
    dest: "{{ aws_installer_dir }}"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



