After Successfully integrating the hastexo xblock in tutor-openedx when i try to install the Guacamole web app and stack supervisor scripts by cloning the hastexo_xblock
fork of edx/configuration and assigning that role to the machine using the following commands:
$ git clone -b hastexo/hawthorn/hastexo_xblock https://github.com/hastexo/edx-configuration.git
$ cd edx-configuration/playbooks
$ ansible-playbook -c local -i "localhost," run_role.yml -e role=hastexo_xblock
I get the following error:
TASK [supervisor : Install supervisor in its venv] *****************************
[DEPRECATION WARNING]: Invoking “pip” only once while using a loop via
squash_actions is deprecated. Instead of using a loop to supply multiple items
and specifying name: "{{ item }}"
, please use name: '{{ supervisor_pip_pkgs }}'
and remove the loop. This feature will be removed from ansible-base in
version 2.11. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
failed: [localhost] (item=[‘boto==“2.48.0”’, ‘python-simple-hipchat’]) => {“ansible_loop_var”: “item”, “changed”: false, “cmd”: ["/edx/app/supervisor/venvs/supervisor/bin/pip3", “install”, “-i”, “https://pypi.python.org/simple”, "boto==“2.48.0"”, “python-simple-hipchat”], “item”: ["boto==“2.48.0"”, “python-simple-hipchat”], “msg”: “stdout: Looking in indexes: https://pypi.python.org/simple\n\n:stderr: WARNING: The directory ‘/home/supervisor/.cache/pip’ or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.\nERROR: Could not find a version that satisfies the requirement boto==“2.48.0”\nERROR: No matching distribution found for boto==“2.48.0”\n”}
PLAY RECAP *********************************************************************
localhost : ok=28 changed=2 unreachable=0 failed=1 skipped=37 rescued=0 ignored=0