appsembler / configuration

a simple, but flexible, way for anyone to stand up an instance of the edX platform that is fully configured and ready-to-go
GNU Affero General Public License v3.0
15 stars 13 forks source link

explicitly set local connection on local_action #397

Closed thraxil closed 2 years ago

thraxil commented 2 years ago

Ansible 2.9+ seems to treat local_action slightly differently and will default to using the connection type for the overall playbook, which in most cases is ssh. That means that it tries to SSH to localhost and that fails in Cloud Build (and probably many other reasonable environments). Setting connection: local on those tasks forces it to stick to just running the task locally.