[ansible-project] Ansible's paths crossed? or need to install python 3 in right folder?

2021-03-23 Thread Kristina Bressler
Was trying to fix a problem in my project with Vagrant. I got this error: `System info: Ansible 2.7.1; Vagrant 2.2.14; Darwin Trellis 1.0.3: April 30th, 2019 --- MODULE FAILURE See stdout/stderr for the exact error Traceback (most recent call last

Re: [ansible-project] Getting Error while Installing Oracle 18c XE RPM package

2021-03-23 Thread Abhijeet Kasurde
Hi Praveen, When a local RPM is passed, yum module tries to retrieve information about name, version, release, and arch from the given RPM. It seems that logic in the module fails to retrieve that for *oracle-database-xe-18c-1.0-1.x86_64.rpm. *Can you please check if RPM is OK? On Wed, Mar 24, 20

Re: [ansible-project] Getting Error while Installing Oracle 18c XE RPM package

2021-03-23 Thread 'Praveen Kumar Singh' via Ansible Project
Below is the error I am getting. *FAILED! => {"changed": false, "msg": "Failed to get nevra information from RPM package: /var/oracle-database-xe-18c-1.0-1.x86_64.rpm"* Thanks and Regards, Praveen Singh On Tue, Mar 23, 2021 at 12:12 PM Dick Visser wrote: > Please post text and not some unreada

Re: [ansible-project] Playbook output is not saved properly in file, please guide

2021-03-23 Thread Vikram S
Hi, Use the below syntax and that will fix the issue. - name: SAVE BACKUP TO A FILE NAMED WITH DEVICE HOSTNAME copy: content="{{ print_backup.stdout | *join ('\n') }}"* dest="./iosupgrade/{{ inventory_hostname }}.txt" Regards, Vikram On Tuesday, 23 March, 2021 at 2:00:32 am UTC+5:30 jar

Re: [ansible-project] Getting Error while Installing Oracle 18c XE RPM package

2021-03-23 Thread Dick Visser
Please post text and not some unreadable screenshot On Tue, 23 Mar 2021 at 18:43, 'Praveen Kumar Singh' via Ansible Project wrote: > > Hello Guys, > > I am getting below error while installing Oracle 18c express edition RPM > package. So can someone please help. > > > > Thanks and Regards, > Pr

[ansible-project] Getting Error while Installing Oracle 18c XE RPM package

2021-03-23 Thread 'Praveen Kumar Singh' via Ansible Project
Hello Guys, I am getting below error while installing Oracle 18c express edition RPM package. So can someone please help. [image: Error.PNG] Thanks and Regards, Praveen Singh -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe

Re: [ansible-project] Hi guys bit lost with this can anyone help

2021-03-23 Thread Abhijeet Kasurde
Hi Mohamed, Can you check if boto3 is installed on `sc-centos-1-2-1-build-1` ? if not install it and re-try. On Tue, Mar 23, 2021 at 9:42 PM Mohamed Rahiman wrote: > [root@sc-centos-1-2-1-build-1 ~]# ansible-playbook delete.yml > > PLAY [ECS delete S3 bucket and all objects] > *

[ansible-project] Hi guys bit lost with this can anyone help

2021-03-23 Thread Mohamed Rahiman
[root@sc-centos-1-2-1-build-1 ~]# ansible-playbook delete.yml PLAY [ECS delete S3 bucket and all objects] ** TASK [Connect to ECS | Delete S3 bucket] ***

Re: [ansible-project] how to loop inventory groups in ansible

2021-03-23 Thread Brian Coca
You can modify the mail task to send per group: - name: send mail to chetan mail: host: relay.services port: 25 from: ad...@company.com to: "{{web_email}}" subject: uptime for {{item}} body: |-

Re: [ansible-project] merge json_query output

2021-03-23 Thread Dick Visser
https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html#selecting-from-sets-or-lists-set-theory On Tue, 23 Mar 2021 at 13:15, Sakshi Rathore wrote: > > currently i am getting output in 2 different array: (ip addresses are dummy) > > ['10.32.142.156', '10.32.142.153', '10.32.31.1

Re: [ansible-project] merge json_query output

2021-03-23 Thread Sakshi Rathore
currently i am getting output in 2 different array: (ip addresses are dummy) ['10.32.142.156', '10.32.142.153', '10.32.31.177', '10.32.31.176', '10.32.31.175', '10.32.31.180', '10.32.31.179', '10.32.143.174', '10.32.143.173', '10.32.143.175', '10.32.141.40', '10.32.141.37', '10.32.41.155', '10.32.

Re: [ansible-project] merge json_query output

2021-03-23 Thread Dick Visser
What do you mean by 'merging json queries'? I know json data structures can be merged, but queries? For example you can merge input and input1 into a new structure, and then have a single json_query? Or ? On Tue, 23 Mar 2021 at 13:02, Sakshi Rathore wrote: > > hello all, > > i am getting 2 a

[ansible-project] merge json_query output

2021-03-23 Thread Sakshi Rathore
hello all, i am getting 2 array of ips from 2 different json queries in ansible-playbook. how can i merge these 2 json queries? in below example i want to merge jmesquery and jmesquery1 - name: master ip list from json content #debug: msg="{{ input | json_query(jmesquery) }}" copy: conten

Re: [ansible-project] return code as the input value for another play

2021-03-23 Thread danish09
Thanks both. Using Tower, unfortunately, is not something that I can jump over to. Though, i might just give it a read. For now, I have just gone back to calling 2 separate playbooks individually. Thanks On Monday, 22 March 2021 at 15:32:25 UTC Brian Coca wrote: > Look at AWX/Tower workflows.

[ansible-project] ovirt upload iso

2021-03-23 Thread j..r..
I would like to upload iso to ovirt, but I'm getting error: OSError: [Errno 2] No such file or directory: '/rear/olrearc' fatal: [olvman]: FAILED! => { How that ansible can't find iso image? If I change upload_image_path: /rear/olrearc/rear-olrearc.iso I'm getting the same error. [ansible@nfs o