Hi Team,

I am trying to install jq on mac using ansible-playbook. I have used
Macports module available in ansible to achieve this task
Playbook-snippet
 - name: install items
      macports:
        name: "{{ item }}"
        state: present
      with_items:
        - jq
        - openjdk11
        - nodejs12
        - git

When I run this playbook the play is success and when I check for jq
installation using command "jq --version" seeing command not found error,
whereas other items like git and java are installed. Facing this issue only
for nodejs and jq

Can anyone assists me on this ??

Awaiting for your reply.

Regards,
Sushma

Reply via email to