Sorry I recently updated to CentOS 7.7.1909. I have installed ansible through yum. This is in a home lab and I tried to do a yum history undo ## and it failed broken dependencies.
On Wednesday, September 18, 2019 at 2:23:16 AM UTC-5, Vladimir Botka wrote: > > On Tue, 17 Sep 2019 19:06:36 -0700 (PDT) > Andrew Meyer <[email protected] <javascript:>> wrote: > > > I just updated CentOS 7 to the latest and now am getting this any > playbook > > I try to run. > > > > [andrew@automation01 installer]$ ansible-playbook -i inventory > install.yml - > > vv > > Traceback (most recent call last): > > File "/usr/bin/ansible-playbook", line 32, in <module> > > from ansible import context > > ImportError: cannot import name context > > It's mixed yum/pip install, I guess. Delete all Ansible packages > (yum/pip), > make sure nothing's left and install Ansible from scratch. > > Cheers, > > -vlado > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/b49a7278-6220-45ed-ba4e-c339930a231f%40googlegroups.com.
