director instance is used to run ansible playbooks in the
When we deploy an instance or an upgrade, we don't SSH directly into the server.
Instead, we SSH to the
director, and from
director we SSH to the server we're deploying.
This is done for security (the server only accepts SSH connections from
director) and to offer us a stable environment with the right versions.
Bootstrap the director instance by installing these packages:
1 2 3 4 5
Set up python virtualenv:
1 2 3 4 5 6
Create and activate a python virtualenv to install the configuration dependencies:
If you've already created the virtualenv in a previous step, then you can activate it using:
openedx/configuration repo, and install its python dependencies:
1 2 3
This will install
ansible among other depencencies.
A new openedx release can include a newer version of
ansible or other Python packages. Because ansible playbooks are to be run from
director, we must update the packages in
director's virtualenv. To do so:
1 2 3