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:

---
- name: stop and mask packagekit
  hosts: jwelby_sandbox
  remote_user: ec2-user
  become: True
  become_method: sudo
  
  ansible.builtin.shell:
  cmd: systemctl stop packagekit
  systemctl mask packagekit


Thanks!

John

-- 
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/e16884de-0b9c-4211-8cd2-281436216ca5n%40googlegroups.com.

Reply via email to