Tartanrusrex / dsta-cmu-track1

0 stars 0 forks source link

Fix Ansible Script #5

Closed okyspace closed 2 years ago

okyspace commented 2 years ago

Issue by: katcujic-cmu Created at: 2021-05-25 04:53:40 Closed by: katcujic-cmu Closed at: 2021-06-15 01:00:06

Assignees: katcujic-cmu


No description provided.

okyspace commented 2 years ago

Commented by: katcujic-cmu 2021-05-25 05:08:34


Example issue when running ansible on 2004: 2004-ansible.png

okyspace commented 2 years ago

Commented by: katcujic-cmu 2021-05-25 05:08:52


Other suggestions:

Solution:

Start using python3 as the interpreter. This might mean you have to change the python3 version of whatever pip packages you used to use on Ubuntu 18.04. You can set this for this target OS only. https://docs.ansible.com/ansible/latest/reference_appendices/interpreter_discovery.html If all your target hosts have python3 (Ubuntu 18.04 LTS does), you can also start using python3 for all your target, avoiding extra configuration drift with mixed python2/python3.

okyspace commented 2 years ago

Commented by: katcujic-cmu 2021-06-02 17:57:09


Merged updates in PR: https://bitbucket.org/castacks/dsta_deploy/pull-requests/5