- name: update apt-get apt: update_cache=yesmsg: Failed to lock apt for exclusive operation---- hosts: ec2 remote_user: ubuntu sudo_user: ubuntu sudo: yes gather_facts: true tasks:ubuntu@ip-172-31-29-77:~$ sudo apt-get update....Fetched 1,829 kB in 1s (917 kB/s)Reading package lists... Done