Permission issue with become

Having the same issue here: Any help is appreciated.
Using
ansible --version
ansible 2.5.2
config file = /etc/ansible/ansible.cfg
python version = 2.6.6

site.yml

  • name: Live patch
    hosts: all
    become: yes

tasks:

  • name: Update the packages using uptrack
    shell: ‘uptrack-upgrade -y’
    args:
    executable: /usr/sbin
    ERROR:
    fatal: [10.0.0.1]: FAILED! => {“changed”: false, “cmd”: “/usr/sbin -c ‘uptrack-upgrade -y’”, “msg”: “[Errno 13] Permission denied”, “rc”: 13}

You're trying to use /usr/sbin as a command, which won't work as this
is a directory.
Remove the 'args' stanza and instead use the full path to the shell
command you want to run:

  tasks:
      - name: Update the packages using uptrack
         shell: '/usr/sbin/uptrack-upgrade -y'