Play is skipped in playbook

Team;

I am trying to ‘stop’ and ‘mask’ packagekit because it appears it is causing yum locks and blocking the playbook from executing instance patching. Below is at the top of the playbook:

Hello,

Whenever possible, use Ansible modules instead of shell/command.

Take a look at Ansible’s “systemd” module. It will help you doing both the stop and masking in a single task.

Alex

Thank you Alex!

Got it working now.

Cheers,

John