On Tue, 5 May 2020 00:47:10 +0200
Vladimir Botka <[email protected]> wrote:

> On Tue, 5 May 2020 00:02:40 +0200
> Kai Stian Olstad <[email protected]> wrote:
> 
> > On Mon, May 04, 2020 at 11:19:53PM +0200, Vladimir Botka wrote:  
> > > There is no such problem with Ansible running on controller with Python 3 
> > >    
> > 
> > That's just not true, your test method is flawed, you need to test it more 
> > than one time.
> > 
> > $ for i in {1..100}; do >/tmp/txt; ansible-playbook test.yml &>/dev/null; 
> > md5sum /tmp/txt; done | sort | uniq -c | sort -n
> >       4 763950971c8c6d8df8a87a1e752799a9  /tmp/txt
> >      11 1597a5a9948014489de663c8fb4438db  /tmp/txt
> >      36 ac34af7b876f793d09a2225e23f43088  /tmp/txt
> >      49 317f53fd9236220d0ab65e4aac4b3c5a  /tmp/txt
> 
> Well, it is true. There are no problems reported with your method either. I
> get correct results only.
> 
> shell> for i in {1..100}; do >test-file; ansible-playbook pb.yml 2>/dev/null; 
> md5sum test-file; done | sort | uniq -c | sort -n  
>      18 82de37d1deac8c90573c35e5637839d7  test-file
>      82 6f4e9c06436257db5ba34d527bd3b211  test-file

To be sure, I let it run overnight

shell> for i in {1..10000}; do >test-file; ansible-playbook -i hosts77 
test77.yml 2>/dev/null; md5sum test-file; done | sort | uniq -c | sort -n
   2689 82de37d1deac8c90573c35e5637839d7  test-file
   7311 6f4e9c06436257db5ba34d527bd3b211  test-file

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/20200505091950.4e0960a7%40gmail.com.

Attachment: pgpSiCiYTcS3o.pgp
Description: OpenPGP digital signature

Reply via email to