- hosts: morefine name: Install morefine become: yes become_user: jd tasks: - name: Install ldap packages ansible.builtin.apt: name: - curl - yakuake - software-properties-common - apt-transport-https - wget - gpg - name: Get repo ansible.builtin.shell: >- wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg