Re: [ansible-project] Getting jsondiff is not installed error even though jsondiff is installed

2022-02-02 Thread Stefan Hornburg (Racke)

On 02/02/2022 18:09, Nick Plichta wrote:

Getting fatal: [192.168.0.51]: FAILED! => {"changed": false, "msg": "jsondiff is not 
installed, try 'pip install jsondiff'"} error on fresh ansible install on ubuntu 20.04 via apt. 
Additionally I installed python3-jsondiff and community.docker from ansible-galaxy. All I’m trying to do is 
destroy a docker stack using ansible-playbook. My yml looks like this



Did you install jsondiff on the target host?
Did you tell Ansible to use Python 3 on the target host 
(ansible_python_interpreter: /usr/bin/python3) ?

Regards
 Racke


---

- hosts: 192.168.0.51

    tasks:

      - name: Remove healthchecks stack

         docker_stack:

           name: healthchecks

           state: absent


What am I missing?

--
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 
ansible-project+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/de19e1eb-c049-4195-9154-7d3adfdf5f27n%40googlegroups.com
 
.



--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration.

--
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/3a1d1443-b3d1-082b-34ec-bfb02f5b%40linuxia.de.


OpenPGP_signature
Description: OpenPGP digital signature


[ansible-project] Getting jsondiff is not installed error even though jsondiff is installed

2022-02-02 Thread Nick Plichta


Getting fatal: [192.168.0.51]: FAILED! => {"changed": false, "msg": 
"jsondiff is not installed, try 'pip install jsondiff'"} error on fresh 
ansible install on ubuntu 20.04 via apt. Additionally I installed 
python3-jsondiff and community.docker from ansible-galaxy. All I’m trying 
to do is destroy a docker stack using ansible-playbook. My yml looks like 
this


---

- hosts: 192.168.0.51

   tasks:

 - name: Remove healthchecks stack

docker_stack:

  name: healthchecks

  state: absent


What am I missing?

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/de19e1eb-c049-4195-9154-7d3adfdf5f27n%40googlegroups.com.