Open vjrj opened 1 year ago
That sounds like a sensible approach to me, thanks.
I think this sums up the state of Python on local machines especially Macs https://xkcd.com/1987/ :D That seems reasonable to get things running. I'd propose we update our Ansible core to the latest version as a first step. I realise this may be easier said than done. Ideally there would be no local builds or configs, individual environments are too diverse and it's impossible to have them all in a consistent state anyway. A push to a repo can trigger a build/deploy from somewhere central
I didn't know that xkcd :-D
For now I'll change only the vm-tasks using import, because, I also prefer to update ansible.
I updated ansible in #800 . It's tested using u18 and u20 and both ansible versions.
@matthewandrews and before @djtfmartin reported about issues with docker related modules.
This is commented for instance here.
I did not install anything extra in any machine where I tested this PR or where I'm using it. This is why I'm thinking that probably it can be a python related issue that only affects to Macs computers.
Reading
ansible
issues, I found this ansible member reply curiously to an old teammate:That suggests that the use of
ansible
in Macs is not a bed of roses and he also gives some suggestions.The idea with the Docker Swarm PR #683 was to not affect the current uses of
ala-install
but this seems it's not true. Sorry!The current situation is that with #691 the problem is mitigated 1) but the problem is still there if you try to use the docker deployment in Macs and 2) also this change affects tasks in the includes that cannot be selected by tags.
This is why I propose to:
import_tasks
only in vm tasks (to allow you to select any specific vm tag).docker_swarm
anddocker_stack
tasks with similarexec
tasks (sadly). Maybe we can re-add them in more recentansible
versions.import_tasks
too in these non vm tasks, to allow also to pick or skip any specific tag.Any thoughts?