Add more conditionals for applying 'aws' role

Description

*Background*: The task `aws : Install aws python packages` is applied even when we have `COMMON_ENABLE_AWS_ROLE: False` in our Ansible vars.

This PR will add more conditionals for applying the `aws` role, as is done already in
some files, like [playbooks/edxapp.yml](https://github.com/edx/configuration/blob/8afeda16e07f4ed2fd9b0283945a3f650243c616/playbooks/edxapp.yml#L11-L12).

The checkboxes below are from the PR template. I don't think that any of them apply.

I'm happy to redo this PR against the master branch, or another branch if that's more appropriate.

  1.  

    1.  

      1. PR template checkboxes

Make sure that the following steps are done before merging:

  • [ ] A DevOps team member has approved the PR if it is code shared across multiple services and you don't own all of the services.

  • [ ] Are you adding any new default values that need to be overridden when this change goes live? If so:

  • [ ] Update the appropriate internal repo (be sure to update for all our environments)

  • [ ] If you are updating a secure value rather than an internal one, file a DEVOPS ticket with details.

  • [ ] Add an entry to the CHANGELOG.

  • [ ] If you are making a complicated change, have you performed the proper testing specified on the [Ops Ansible Testing Checklist](https://openedx.atlassian.net/wiki/display/EdxOps/Ops+Ansible+Testing+Checklist)? Adding a new variable does not require the full list (although testing on a sandbox is a great idea to ensure it links with your downstream code changes).

  • [ ] Think about how this change will affect Open edX operators. Have you updated the wiki page for the next Open edX release?

Assignee

Fred Smith

Reporter

Open Source Pull Request Bot

Labels

Contributor Name

Mark Breedlove

Repo

edx/configuration

Customer

None

Epic Link

None

OSCM Assignee

None

Platform Map Area (Levels 1 & 2)

Developer Experiences

Platform Map Area (Levels 3 & 4)

None

Blended Hour Utilization Percentage

None

Priority

Unset
Configure