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

2021-10-22 Thread Raja Natte
Yes

On Fri, Oct 22, 2021, 1:55 PM Dick Visser  wrote:

> So this mail task is part of that role?
>
>
> On Fri, 22 Oct 2021 at 16:09, Raj  wrote:
>
>> Hi, VGM
>>
>> my playbook call roles  ssl scan  ( final part is email to send once)
>> but it is sending 100 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
>>>
>>> On Thu, 14 Oct 2021 at 17:03, Raja Natte  wrote:
>>>
>>>> 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 job is
>>>>> successfully completed".
>>>>> I guess this "job" is the running of the playbook?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Thu, 14 Oct 2021 at 15:12, Raj  wrote:
>>>>>
>>>>
>>>>>> Hi Racke,
>>>>>>
>>>>>> This is my code
>>>>>>
>>>>>> - name: Sending email to about SSL scan
>>>>>>   mail:
>>>>>> host: x
>>>>>> port: 25
>>>>>> subject: 
>>>>>> body:  
>>>>>> from: xxx
>>>>>> to:
>>>>>># - 
>>>>>> - 
>>>>>>   delegate_to: localhost
>>>>>>   run_once: true
>>>>>> On Thursday, October 14, 2021 at 1:28:05 AM UTC-4 ra...@linuxia.de
>>>>>> wrote:
>>>>>>
>>>>>>> On 13/10/2021 22:13, Raj wrote:
>>>>>>> > Hi All,
>>>>>>> >
>>>>>>> > I am trying to send one email to team after job is successfully
>>>>>>> completed.  Issue is playbook sending (if inventory have 100 servers ). 
>>>>>>> It
>>>>>>> is sending 100 emails.
>>>>>>> >
>>>>>>> > I tried in my code:  delegate_to: localhost and run_once: true it
>>>>>>> doesn't help please provide your inputs it really helpful .
>>>>>>>
>>>>>>> That should work. Please provide your code.
>>>>>>>
>>>>>>> Regards
>>>>>>>
>>>>>>>Racke
>>>>>>>
>>>>>>> >
>>>>>>> > TIA
>>>>>>> > Raja
>>>>>>> > --
>>>>>>> > 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-proje...@googlegroups.com >>>>>> ansible-proje...@googlegroups.com>.
>>>>>>> > To view this discussion on the web visit
>>>>>>> https://groups.google.com/d/msgid/ansible-project/b69b5eb1-7de3-4bce-80fd-2ca824fd07a0n%40googlegroups.com
>>>>>>> <
>>>>>>> https://groups.google.com/d/msgid/ansible-project/b69b5eb1-7de3-4bce-80fd-2ca824fd07a0n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> 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-proje...@googlegroups.com.
>>>>>> To view this discussion on the web visit
>>>>>

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

2021-10-22 Thread Raja Natte
Yes..

No errors email sending included run one and delegate_to localhost

Thanks

On Fri, Oct 22, 2021, 10:19 AM Stefan Hornburg (Racke) 
wrote:

> On 22/10/2021 16:09, Raj wrote:
> > Hi, VGM
> >
> > my playbook call roles  ssl scan  ( final part is email to send once)
> but it is sending 100 emails
>
> Did you ever check the indentation on your task sending email as advised?
>
> delegate_to should really work.
>
> Regards
>
>  Racke
>
> >
> > ---
> > - 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
> >
> > On Thu, 14 Oct 2021 at 17:03, Raja Natte  wrote:
> >
> > 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
> job is successfully completed".
> > I guess this "job" is the running of the playbook?
> >
> >
> >
> >
> > On Thu, 14 Oct 2021 at 15:12, Raj  wrote:
> >
> >
> > Hi Racke,
> >
> > This is my code
> >
> > - name: Sending email to about SSL scan
> >   mail:
> > host: x
> > port: 25
> > subject: 
> > body:  
> > from: xxx
> > to:
> ># - 
> > - 
> >   delegate_to: localhost
> >   run_once: true
> > On Thursday, October 14, 2021 at 1:28:05 AM UTC-4
> ra...@linuxia.de wrote:
> >
> > On 13/10/2021 22:13, Raj wrote:
> > > Hi All,
> > >
> > > I am trying to send one email to team after job is
> successfully completed.  Issue is playbook sending (if inventory have 100
> servers ). It is sending 100 emails.
> > >
> > > I tried in my code:  delegate_to: localhost and
> run_once: true it doesn't help please provide your inputs it really helpful
> .
> >
> > That should work. Please provide your code.
> >
> > Regards
> >
> >Racke
> >
> > >
> > > TIA
> > > Raja
> > > --
> > > 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-proje...@googlegroups.com
> <mailto:ansible-proje...@googlegroups.com>.
> > > To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/b69b5eb1-7de3-4bce-80fd-2ca824fd07a0n%40googlegroups.com
> <
> https://groups.google.com/d/msgid/ansible-project/b69b5eb1-7de3-4bce-80fd-2ca824fd07a0n%40googlegroups.com>
> <
> https://groups.google.com/d/msgid/ansible-project/b69b5eb1-7de3-4bce-80fd-2ca824fd07a0n%40googlegroups.com?utm_medium=email&utm_source=footer
> <
> https://groups.google.com/d/msgid/ansible-project/b69b5eb1-7de3-4bce-80fd-2ca824fd07a0n%40googlegroups.com?utm_medium=email&utm_source=footer
> >>.
> >
> >
> > --
> > 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-proje...@googlegroups.com.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/f662886f-2a63-4988-a2b7-e15a4dfbfd16n%40googlegroups.com
> <
> https://gr

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 job is
> successfully completed".
> I guess this "job" is the running of the playbook?
>
>
>
>
> On Thu, 14 Oct 2021 at 15:12, Raj  wrote:
>
>>
>> Hi Racke,
>>
>> This is my code
>>
>> - name: Sending email to about SSL scan
>>   mail:
>> host: x
>> port: 25
>> subject: 
>> body:  
>> from: xxx
>> to:
>># - 
>> - 
>>   delegate_to: localhost
>>   run_once: true
>> On Thursday, October 14, 2021 at 1:28:05 AM UTC-4 ra...@linuxia.de wrote:
>>
>>> On 13/10/2021 22:13, Raj wrote:
>>> > Hi All,
>>> >
>>> > I am trying to send one email to team after job is successfully
>>> completed.  Issue is playbook sending (if inventory have 100 servers ). It
>>> is sending 100 emails.
>>> >
>>> > I tried in my code:  delegate_to: localhost and run_once: true it
>>> doesn't help please provide your inputs it really helpful .
>>>
>>> That should work. Please provide your code.
>>>
>>> Regards
>>>
>>>Racke
>>>
>>> >
>>> > TIA
>>> > Raja
>>> > --
>>> > 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-proje...@googlegroups.com >> ansible-proje...@googlegroups.com>.
>>> > To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/ansible-project/b69b5eb1-7de3-4bce-80fd-2ca824fd07a0n%40googlegroups.com
>>> <
>>> https://groups.google.com/d/msgid/ansible-project/b69b5eb1-7de3-4bce-80fd-2ca824fd07a0n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>>>
>>>
>>>
>>> --
>>> 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/f662886f-2a63-4988-a2b7-e15a4dfbfd16n%40googlegroups.com
>> 
>> .
>>
>
>
> --
> Dick Visser
> Trust & Identity Service Operations Manager
> GÉANT
>
> --
> 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/CAL8fbwNz4ToNKCBngPbHOtB4%3D%3DHbFvx%3DTCJ6%3D4CL-kSrgvrDUA%40mail.gmail.com
> 
> .
>

-- 
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/CA%2BuTAOgXB1y_ATqNWBtRXxNyVuysaVA8gBp3Scx8cJKFAR-nBA%40mail.gmail.com.


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 mardi 21 septembre 2021 à 17:22:53 UTC+2, Raj a écrit :
>
>> 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 
>> wrote:
>>
>>> This shows  you need to install pymysql python package on your remote
>>> host.
>>>
>>> On Tuesday, September 21, 2021 at 8:31:45 PM UTC+5:30 Raj wrote:
>>>
 Hi All,

 My playbook is running good on 90  servers getting all information
 mysql.

 Issue is failing on 10 servers below is the error.

 Note: Our ansible id doesn't have root access.

 The PyMySQL (Python 2.7 and Python 3.X) or MySQL-python (Python 2.X)
 module is required

 Thanks
 Raja

>>> --
>>> 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-proje...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/ansible-project/b9d9d789-8fe8-45da-bbd0-529801b2080an%40googlegroups.com
>>> 
>>> .
>>>
>> --
> 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/8539cff2-1bbc-430f-9d13-fc5351cd08e8n%40googlegroups.com
> 
> .
>

-- 
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/CA%2BuTAOjz5QUOcNO9kF0eHaUWC1GcQokYSAjdQBhPiK4zy8oSpQ%40mail.gmail.com.


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 Tuesday, September 21, 2021 at 8:31:45 PM UTC+5:30 Raj wrote:
>
>> Hi All,
>>
>> My playbook is running good on 90  servers getting all information mysql.
>>
>> Issue is failing on 10 servers below is the error.
>>
>> Note: Our ansible id doesn't have root access.
>>
>> The PyMySQL (Python 2.7 and Python 3.X) or MySQL-python (Python 2.X)
>> module is required
>>
>> Thanks
>> Raja
>>
> --
> 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/b9d9d789-8fe8-45da-bbd0-529801b2080an%40googlegroups.com
> 
> .
>

-- 
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/CA%2BuTAOhf8w5VA9KfvZffE%3D-M8HdwkCYKqJsHeXsZguRBqmiQ1g%40mail.gmail.com.


[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: /opt/test*  > after test  directory will on all servers
patterns: '*.jks'


TIA

-- 
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/CA%2BuTAOik7n6U3SyMhw_PUWtOcub%2BTBz15CVMHmnRgwqUapayeA%40mail.gmail.com.


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 Server B directly, skipping the Ansible node, i.e., I do
> not want to use Fetch and Copy module. I have tried the synchronize module
> to do the said task but however, it fails with the following error:
> \"item\", \"changed\": false, \"cmd\": \"sshpass\", \"item\":ABC.csv
> \"msg\": \"[Errno 2] No such file or directory\", \"rc\": 2}​​\nfailed
>
> If anyone has done something similar, can you guide us how we can
> accomplish this? Any help is appreciated.
>
> Thanks
> Shivam
>
> --
> 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/ba8c10fc-017b-4efe-8357-85aa98ba8d03n%40googlegroups.com
> 
> .
>

-- 
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/CA%2BuTAOgZtk8o8h%2Bg%3DqmrezsUY7WUNaFrn%2BnWFNu85Gjww0gLWA%40mail.gmail.com.


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 issue?
>
> Regards,
> Chand
>
> --
> 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/CAJBMrc1fZk7_52bHF0bjox%2BWPPBFzfgfxcbh2LQNCpLX-Hf7cA%40mail.gmail.com
> 
> .
>

-- 
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/CA%2BuTAOgEfsPUuA3Pm60qFHoT-r9aPRtXWVbo2bU60JNu8pOxuA%40mail.gmail.com.


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:
> https://docs.ansible.com/ansible/2.9/modules/synchronize_module.html
>
> In addition there are many notes for that modul (e.g. permissions) on that
> source.
> Thanks.
>
> On Sunday, March 7, 2021 at 5:26:55 PM UTC+1 Raj wrote:
>
>> 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...@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 server A to server B. Could you
>>> please
>>> > help me  on this issue.
>>> >  ---
>>> > - name: copy remote to remote host
>>> >   synchronize:
>>> >   src: "{{ src_path }}"
>>> >   dest: "{{ dest_path }}"
>>> >   delegate_to:  Server B
>>> >
>>> > while running through AWX hang with below error
>>> > /usr/bin/python
>>> >
>>> /home/ansible-dav/.ansible/tmp/ansible-tmp-1615128261.3756096-28-1747884227
>>> > 1265/AnsiballZ_synchronize.py && sleep 0'"'"''
>>>
>>> I see no error message in what you have posted.
>>>
>>>
>>> Antony.
>>>
>>> --
>>> Late in 1972 President Richard Nixon announced that the rate of increase
>>> of
>>> inflation was decreasing.   This was the first time a sitting president
>>> used a
>>> third derivative to advance his case for re-election.
>>>
>>>  - Hugo Rossi, Notices of the American Mathematical Society
>>>
>>>Please reply to the
>>> list;
>>>  please *don't*
>>> CC me.
>>>
>> --
> 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/a5109543-0029-400f-8270-d391a3e2900bn%40googlegroups.com
> 
> .
>

-- 
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/CA%2BuTAOhsjzwhQ00f97nH_%2BZ5j_o-Ai9uNKPj%2B%3DkY9UFRmcgD%2Bg%40mail.gmail.com.


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 server A to server B. Could you
> please
> > help me  on this issue.
> >  ---
> > - name: copy remote to remote host
> >   synchronize:
> >   src: "{{ src_path }}"
> >   dest: "{{ dest_path }}"
> >   delegate_to:  Server B
> >
> > while running through AWX hang with below error
> > /usr/bin/python
> >
> /home/ansible-dav/.ansible/tmp/ansible-tmp-1615128261.3756096-28-1747884227
> > 1265/AnsiballZ_synchronize.py && sleep 0'"'"''
>
> I see no error message in what you have posted.
>
>
> Antony.
>
> --
> Late in 1972 President Richard Nixon announced that the rate of increase
> of
> inflation was decreasing.   This was the first time a sitting president
> used a
> third derivative to advance his case for re-election.
>
>  - Hugo Rossi, Notices of the American Mathematical Society
>
>Please reply to the
> list;
>  please *don't* CC
> me.
>

-- 
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/CA%2BuTAOgHtoSwUZo5OTZ8M8Y1FeEAGAzTThOzuPRQbUTce6Qd3Q%40mail.gmail.com.


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 module through control node. In my scenario
> as per security reason we won't copy to control node.
> >
> > ---
> > -  name: copy files from server A to server B,C,D...
> > synchronize:
> >  src: /tmp
> >  dest: target servers path
> > delegate_to: server A
> >
> >
> > TIA
> >
> > --
> > 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/587b879e-5751-457b-87f0-2e2ba54145ebn%40googlegroups.com
> .
>
>
>
> --
> Dick Visser
> Trust & Identity Service Operations Manager
> GÉANT
>
> --
> 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/CAL8fbwOCgsGgbS7Ws4N7W%2BAzMnun38_n%3DKA3T4SPqj_4xOYfrw%40mail.gmail.com
> .
>

-- 
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/CA%2BuTAOj1i%3DWnheOFngfeunDmAbuhKm01H3iUFoV3k3EDCu%3DkVw%40mail.gmail.com.


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

On Fri, Feb 26, 2021, 12:56 PM Stefan Hornburg (Racke) 
wrote:

> On 2/26/21 6:49 PM, Raj wrote:
> > no.. I placed start service command in .sh file.
> >
> > Thanks
> >
>
> You know that Ansible has a "service" module, don't you?
>
> Anyway, no point to pursue this further with the sparse information you
> gave.
>
> Regards
> Racke
>
> > On Friday, February 26, 2021 at 12:47:49 PM UTC-5 brae...@gmail.com
> wrote:
> >
> > On 2/26/21 6:39 PM, Raj wrote:
> > > service Stop command working fine
> > > /bin/artemis-service stop
> > >
> > > service start command is not working
> > > /bin/artemis-service start
> > >
> > > I used nohup and wrote shell script to start but  not working.
> > >
> > > Could you please help on this one.
> > >
> > > TIA
> >
> > How is that writing a shell script related to Ansible?
> >
> > Regards
> > Racke
> >
> > >
> > > --
> > > 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-proje...@googlegroups.com  ansible-proje...@googlegroups.com>.
> > > To view this discussion on the web visit
> > >
> https://groups.google.com/d/msgid/ansible-project/0df12cf4-da2c-4f32-8d41-2575b9ee8647n%40googlegroups.com
> > <
> https://groups.google.com/d/msgid/ansible-project/0df12cf4-da2c-4f32-8d41-2575b9ee8647n%40googlegroups.com
> >
> > >
> > <
> https://groups.google.com/d/msgid/ansible-project/0df12cf4-da2c-4f32-8d41-2575b9ee8647n%40googlegroups.com?utm_medium=email&utm_source=footer
> > <
> https://groups.google.com/d/msgid/ansible-project/0df12cf4-da2c-4f32-8d41-2575b9ee8647n%40googlegroups.com?utm_medium=email&utm_source=footer
> >>.
> >
> >
> >
> > --
> > Ecommerce and Linux consulting + Perl and web application
> programming.
> > Debian and Sympa administration. Provisioning with Ansible.
> >
> > --
> > 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  ansible-project+unsubscr...@googlegroups.com>.
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/ansible-project/731ce4b4-0949-478c-87d0-fdf9dfe2f292n%40googlegroups.com
> > <
> https://groups.google.com/d/msgid/ansible-project/731ce4b4-0949-478c-87d0-fdf9dfe2f292n%40googlegroups.com?utm_medium=email&utm_source=footer
> >.
>
>
> --
> Ecommerce and Linux consulting + Perl and web application programming.
> Debian and Sympa administration. Provisioning with Ansible.
>
> --
> 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/47a104ba-d2a1-1dd4-c140-27c8a2282485%40linuxia.de
> .
>

-- 
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/CA%2BuTAOh6mSn6VW6g1VCjM7fPhSdn2%2BP%3DEzA_vwM0VmhPqG_4Ow%40mail.gmail.com.