[ansible-project] Ansible register stdout_lines

2022-12-19 Thread Deepanshu Dang
Hi team Need your support I'm looking out for put loop on register stdout _lines my stdout_lines output is this "stdout_lines": [ "NAME READY STATUS RESTARTS AGE", "kafka-0 1/1 Running 3 (3h1m ago) 3d", "kafka-1 1/1 Running 3 (3h1m ago) 3d", "kafka-zookeeper-0 1/1 Running 1 (3h2m ago) 3d" ] M

[ansible-project] Ansible Playbook when statement added in playbook

2022-11-01 Thread DEEPANSHU DANG
Hi Team I have created a Playbook for helm deployment and need to make resiliency and exception handling with the help of when condition I got confused in that when adding multiple conditions can any one please help. ``` --- #Header Section - name: This playbook will deploy the kafka service in C

Re: [ansible-project] kubernetes.core.helm throwing Invalid Syntax

2022-10-31 Thread DEEPANSHU DANG
thon3 > tasks: > ... > ``` > or > ``` > export ANSIBLE_PYTHON_INTERPRETER=/path/to/bin/python3 > ``` > then run the playbook. > > Apart from that `--syntax-check` would provide syntax errors for YAML > files, not for the actual module that is being invoked. >

[ansible-project] kubernetes.core.helm throwing Invalid Syntax

2022-07-20 Thread DEEPANSHU DANG
Hi team, I'm running ansible on centos 7 in which python 2 coming by default and some dependencies like yum etc is depended on that. When Ansible is install it picking the default python2 as INTERPRETER Ansible --version ansible 2.9.27 config file = /etc/ansible/ansible.cfg configured module