Re: [ansible-project] one email for multiple hosts

2021-10-22 Thread Raja Natte
00 emails >> >> --- >> - hosts: "{{ web }}" >> gather_facts: yes >> roles: >> - SSL_scan >> >> On Thursday, October 14, 2021 at 11:09:29 AM UTC-4 dick....@geant.org >> wrote: >> >>> So, post that playbook &g

Re: [ansible-project] one email for multiple hosts

2021-10-22 Thread Raja Natte
> > roles: > > - SSL_scan > > > > On Thursday, October 14, 2021 at 11:09:29 AM UTC-4 dick....@geant.org > wrote: > > > > So, post that playbook > > > > On Thu, 14 Oct 2021 at 17:03, Raja Natte wrote: > >

Re: [ansible-project] one email for multiple hosts

2021-10-14 Thread Raja Natte
Hi.. Yes it is running in same playbook. On Thu, Oct 14, 2021, 10:21 AM Dick Visser wrote: > This is just the one mail task. > It must be part of a playbook, where other things happen as well, and > which will reveal the cause. > > Also, you say "I am trying to send one email to team after

Re: [ansible-project] Re: MYSQL failing on couple of servers

2021-09-21 Thread Raja Natte
Hi, Don't have root access perform this task. Thanks On Tue, Sep 21, 2021, 11:33 AM steve missoh wrote: > If: > - you do have internet on the nodes > - you already have pip installed > Then you can install PyMySQL in userspace with your non-root id: > pip3 install PyMySQL - -user > > > Le

Re: [ansible-project] Re: MYSQL failing on couple of servers

2021-09-21 Thread Raja Natte
Thanks Raj.. Is it ok to install python verison 3. Because it have 2.7.5.. i have to request unix team. Thanks Raja On Tue, Sep 21, 2021, 11:10 AM rajthecomputerguy < rajthecomputer...@gmail.com> wrote: > This shows you need to install pymysql python package on your remote host. > > On

[ansible-project] find module to scan sub directories need help

2021-07-29 Thread Raja Natte
Hi All, I am trying to find files in sub directory like the first server path: /opt/test/x/y/z/file.txt each server has different paths. I am using find module it checking for current directory as mention /opt/test* code: - name: Get SSL path ignore_errors: false find: paths:

Re: [ansible-project] Transfer files from Server A to Server B

2021-04-07 Thread Raja Natte
Hi.. You can use fetch and copy.. clean up on control node in same playbook . We are doing for security files.. Thanks On Wed, Apr 7, 2021, 9:49 PM Shivam Arora wrote: > Hi Community Members, > > I am writing an Ansible playbook for which I want to copy files directly > from Server A to

Re: [ansible-project] sudo passwd error

2021-04-01 Thread Raja Natte
Provide become password --ask-become-pass or ansible_become_pass: password at yours group_vars On Thu, Apr 1, 2021, 9:04 AM shekar reddy wrote: > Hi All, > > I am performing snmpd.conf file modifying using ansible-playbook.I am > getting below error, > Could you please anybody help me on this

Re: [ansible-project] ansible remote host to remote synchronize.py error

2021-03-08 Thread Raja Natte
Issue is hang on awx.. no errors. Thanks On Mon, Mar 8, 2021, 2:03 PM Stefan Schmid < stefan.schmid.switzerl...@gmail.com> wrote: > Hi > > Did you know? > (..) > rsync must be installed on both the local and remote host. > (..) > Source: >

Re: [ansible-project] ansible remote host to remote synchronize.py error

2021-03-07 Thread Raja Natte
While doing this verbose it hangs at 1265/AnsiballZ_synchronize.py && sleep 0'"'"'' Thanks On Sun, Mar 7, 2021, 9:54 AM Antony Stone < antony.st...@ansible.open.source.it> wrote: > On Sunday 07 March 2021 at 15:52:20, Raj wrote: > > > Hi all, > > > > Below is my playbook for copy from

Re: [ansible-project] remote to remote host copy. using AWX

2021-03-01 Thread Raja Natte
Hi, How to copy remote to remote hosts. Thanks On Mon, Mar 1, 2021, 12:34 PM Dick Visser wrote: > And your question is? > > On Mon, 1 Mar 2021 at 18:15, Raj wrote: > > > > Hi All, > > > > I am trying to copy file from remote to remote using below tasks. > already I used fetch and copy

Re: [ansible-project] amq7 broker service start command not working through ansible (AWX)

2021-02-26 Thread Raja Natte
Sorry for missing the Information. know ansible have service module.. Application configured there broker in there app directory like below. that's the reason issued shell and command module but no luck {{Application}}/bin/artemis-service start. Stop is working fine... but start not working