[ansible-project] Re: Extra output in find module, am I doing something wrong

2019-08-11 Thread Narahari 'n' Savitha
Hello All: Any one else seeing this or is it just me ? -Narahari -- 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] Extra output in find module, am I doing something wrong

2019-08-10 Thread Narahari 'n' Savitha
Friends: Thank you in advance for your time and attention. Here is the playbook --- - hosts: all gather_facts: no tasks: - name: "Testing if I can list the home folder" find: paths: $HOME register: files_matched - name: "Output data" debug: msg: "Testing {{

Re: [ansible-project] ansible playbook in json format not working

2019-06-26 Thread Narahari 'n' Savitha
s require it), but not the playbooks themselves. > > > On 6/26/19 3:08 PM, Narahari 'n' Savitha wrote: > > Hello Folkds: > > Thank you in advance for your time and attention. > > I wrote a playbook in the json format. > > [ >> { >> "name": &qu

[ansible-project] ansible playbook in json format not working

2019-06-26 Thread Narahari 'n' Savitha
Hello Folkds: Thank you in advance for your time and attention. I wrote a playbook in the json format. [ > { > "name": "Test the json mode" > "hosts": "cool_columbus", > "tasks": [ > { > "name": "First task" > "shell": { > "chdir": "/tmp", >

[ansible-project] template error while templating string

2018-09-21 Thread Narahari 'n' Savitha
Hello: Here is the command I am trying to run ansible adhoc ansible -o APP_SERVERS_GROUP[0] -i ~/HOSTS/v2/DATA_LAB/DIT/DIT1_DEV/DIT1__LOCAL_CURR/ -m shell -a "{{ curl -sk localhost:8080/Log4JControl/version.jsp | trim }}" -u ANSIBLE_USER The output I get is this dit1_dev.cucumber.com |

Re: [ansible-project] How to make ansible-playbook quiet

2018-09-21 Thread Narahari 'n' Savitha
Will look at your inputs. Thank you for the input. On Friday, September 21, 2018 at 1:42:08 AM UTC-4, Kai Stian Olstad wrote: > > On 21.09.2018 06:12, Narahari 'n' Savitha wrote: > > Thank you in advance for your time and attention. > > > > In ansible-playboo

Re: [ansible-project] ansible adhoc and run_once how to ?

2018-09-21 Thread Narahari 'n' Savitha
Thank you so much. Did not know I could index groups. Appreciate your help very much. -Narahari On Friday, September 21, 2018 at 1:38:14 AM UTC-4, Kai Stian Olstad wrote: > > On 21.09.2018 06:14, Narahari 'n' Savitha wrote: > > Thank you in advance for your t

[ansible-project] ansible adhoc and run_once how to ?

2018-09-20 Thread Narahari 'n' Savitha
Thank you in advance for your time and help. In ansible adhoc command how do I specify run_once ? I can do that in ansible playbook but adhoc I dont now how to do that. Any suggestions is very helpful. -Narahari -- You received this message because you are subscribed to the Google Groups

[ansible-project] How to make ansible-playbook quiet

2018-09-20 Thread Narahari 'n' Savitha
Thank you in advance for your time and attention. In ansible-playbook command, how do I stop the ** lines from showing up ? I really want very minimal output. -N -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from

[ansible-project] Re: ansible-valult encrypt_string and adhoc command usage - how to ?

2018-02-27 Thread Narahari 'n' Savitha
Any help or pointers is appreciated. On Thursday, February 15, 2018 at 7:04:51 PM UTC-5, Narahari 'n' Savitha wrote: > > Friends: > > I am trying to understand how to do something. I am not even sure it is > possible. Try to help me please. > > Thank you in advance for

[ansible-project] ansible-valult encrypt_string and adhoc command usage - how to ?

2018-02-15 Thread Narahari 'n' Savitha
Friends: I am trying to understand how to do something. I am not even sure it is possible. Try to help me please. Thank you in advance for your help. End User types in user id and password on jenkins screen. I then want to encrypt that password with vault and write that to a file say

Re: [ansible-project] do-until loop with find function and regulare expression

2017-09-13 Thread Narahari 'n' Savitha
It worked. Thank You. On Wednesday, September 13, 2017 at 1:10:22 PM UTC-4, Kai Stian Olstad wrote: > > On 13. sep. 2017 17:42, Narahari 'n' Savitha wrote: > > Is that function find coming from Python ? > > yes > > > > Where can I find more documentati

[ansible-project] do-until loop with find function and regulare expression

2017-09-13 Thread Narahari 'n' Savitha
Freinds: Thank you for your time and attention on this, in advance. I have the following do-until loop and I am trying to understand how to match regurlar experssions. ... ... shell: "curl -sk -m 2 http://localhost:8080/Log4JControl/version.jsp; register: result

[ansible-project] Multiple tomcats and wait for app to start

2017-09-08 Thread Narahari 'n' Savitha
Friends: Thank you in advance for your time and attention. I am writing a playbook do the following on 6 tomcat servers. a. start tomcat b. wait for the app to come up on http://localhost:8080/tellMyVersion/version.jsp c. complete the play run after the above steps. I can start tomcat which

[ansible-project] Re: nesting of inventory file and include mechanisms

2017-08-24 Thread Narahari 'n' Savitha
nt > │ │ > │ └── stage/# Contains all files specific to the stage > environment > │ ├── group_vars/ # stage specific group_vars files > │ │ ├── all > │ │ ├── db > │ │ └── web > │ └── hosts # Contains only the ho

[ansible-project] Re: nesting of inventory file and include mechanisms

2017-08-24 Thread Narahari 'n' Savitha
you have to give the full path while including the file otherwise it > may give error: > > example: > pcb.yml file > > --- > - include: /the_env/ce/apa.yml > > > > > On Wednesday, August 23, 2017 at 8:06:20 AM UTC+5:30, Narahari 'n' Savitha > wrote: >&

[ansible-project] nesting of inventory file and include mechanisms

2017-08-22 Thread Narahari 'n' Savitha
Friends: This is my first post, so kindly excuse me if anything I post is not a correct understanding. Thank your for your time and attention to begin with. Consider this folder and file structure the_env/ ├── ce │ ├── apa.yml │ └── cp │ └── pcb.yml └── coh.yml The expected end