Hi, I am trying to run ansible within Concourse, however when i am running
i am only able to ping localhost. I cannot make passwordless login. I may
be missing somewhere. Below are my steps:-
I need some guidance as i am not able to Find any resource in Internet.
Concourse Yaml File:-
---
reso
}"
> mode: "{{ item.mode }}"
> loop: "{{ folders }}"
>
>
> On Thu, 8 Aug 2019 at 18:04, Bishwajit Samanta
> > wrote:
> >
> > Hi,
> >
> > I am looking for ways to solve my problem statement.
> >
> >
Hi,
I am looking for ways to solve my problem statement.
I have a list of directories with different permissions for example,
/path/to/folderA: 0755
/path/to/folderB: 0754
/path/to/folderC: 0745
Now today I have 3 folders of 3 different permissions tomorrow I have 6
folders of 6 different perm
Hi All,
I am trying to achieve mentioning multiple directories in var.yml so that
in loop i can give them folder permission however it is not working. Can
anyone help me here.
---
- name: "File List"
hosts: localhost
gather_facts: no
become: yes
become_user: root
tasks:
- include_vars: var.yml
Hi Team,
I was curious can we run command in jinja2 template say example
{{pwd}} === here pwd is a shell command.
--
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 ema
Hi
I am not able to use the Vm Poweredoff status in my when clause.
Can anyone tell me how to fix it.
- name: "Collecting Vmware Guest Facts"
hosts: localhost
vars:
msg: |
{{ value.instance.hw_power_status }}
tasks:
- name: Gathering Facts
vmware_guest_facts:
Any help ?
On Thursday, September 6, 2018 at 5:30:20 PM UTC+5:30, Bishwajit Samanta
wrote:
>
> Dear Team,
>
> I want to Run some shell commands in Vmware through Ansible. But i am
> facing Some errors. If possible can you help me.
>
>
> - name:
Hi Team,
When clause is not working in Ansible as it is getting skipped. Can anybody
help me with the error.
---
- name: "Collecting Vmware Guest Facts"
hosts: localhost
vars:
msg: |
{{ value.instance.hw_power_status }}
tasks:
- name: Gathering Facts
vmware_gu
Dear Team,
I want to Run some shell commands in Vmware through Ansible. But i am
facing Some errors. If possible can you help me.
- name: Run command inside a vm
vmware_vm_shell:
hostname: 192.168.119.129
username: x
password: xx
datacenter: vnt
eg Porter wrote:
>>
>> Hmm. Well, by default ESXi hypervisors have ssh turned off. You need to
>> manually go turn it on. Make sure ssh is running on the host.
>> https://pubs.vmware.com/vsphere-6-5/index.jsp?topic=%2Fcom.vmware.vcli.getstart.doc%2FGUID-C3A44A30-EEA5-4
Hi,
I am trying to connect esxi 6.5 with ansible. I have copied ssh keys using
ssh-copy-id to root id of the esxi server but when i am executing ansible
-m ping vmware(ip) it says permission denied. Any idea how to make it work
out ?
192.168.119.129 | UNREACHABLE! => {
"changed": false,
Dear All,
I am not able to run jenkins inside docker container using ansible
playbook. Jenkins is getting started but unable to run it
- name: Download Jenkins Container
docker_container:
name: Jenkins_server
image: jenkins
state: started
ports:
- "8080:8080"
Hi,
I am trying to install a .deb Package through Ansible, it is not getting
installed.
Error:-
--
TASK [recon_app : Install the Deb Package of ReconApp]
***
Saturday 05 May 2018 18:34:02 +0530 (0:00:00.034) 0:00:00.034
I resolved the issue.. :)
On Fri 4 May, 2018, 17:24 Bishwajit Samanta,
wrote:
> Hi Team,
>
> Is there any way to get the output of Karaf through ansible::
>
> If i am executing the below command::-
>
> # echo encrypt-text abcd | ./client ( I am getting the below ou
Hi Team,
Is there any way to get the output of Karaf through ansible::
If i am executing the below command::-
# echo encrypt-text abcd | ./client ( I am getting the below output )
1249 [sshd-SshClient[6d78f375]-nio2-thread-2] WARN
org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier -
Any help .. any idea please ...
On Fri 27 Apr, 2018, 17:11 Bishwajit Samanta, <
bishwajitsamanta1...@gmail.com> wrote:
> Hi all,
>
> I have a query about Connecting Ansible with VPN.
>
> In our Environment we have Cisco VPN connected.
>
> Would it be possible
Hi all,
I have a query about Connecting Ansible with VPN.
In our Environment we have Cisco VPN connected.
Would it be possible to connect ansible to those systems connected via
CISCO VPN and then perform the tasks i gave for it ?
Any source or links about this knowledge is welcomed...
--
Hi All,
I am running a shell script for installation of Search Guard Plugin for
Elastic Search. Below is the error given. If any body knows any better way
for Search Guard plugin you can suggest me.
Playbook:
-
---
- hosts: deploy
gather_facts: no
tasks:
- script: /opt/search
e(query)\n File
\"/usr/lib/python2.7/dist-packages/psycopg2/extras.py\", line 120, in
execute\nreturn super(DictCursor, self).execute(query,
vars)\npsycopg2.ProgrammingError: relation \"products\" does not
exist\n\n", "module_stdout": "", "
Hi, i am having a problem in setting up postgresql through ansible.
Error::-
--
Peer authentication failed for user "postgres". I checked google, i found
people as saying i need to use become and become_user: postgress. But even
after doing that i am getting, that those are not valid
can use:
> node.name:{{inventory_hostname}}
>
> Which will use the inventory hostname defined in your Ansible inventory.
>
> For reference:
>
> https://github.com/mrlesmithjr/ansible-elasticsearch/blob/master/defaults/main.yml#L74
>
> Hope this helps.
>
> On Friday, April
Can anyone help me in my problem please ?
On Friday, April 13, 2018 at 8:21:31 PM UTC+5:30, Bishwajit Samanta wrote:
>
>
>
> Hi, my question is ::
>
>
> My ansible script will be running for multiple systems. But in
> elasticsearch.jin
; - hosts: somehost
>> gather_facts: no
>> vars_files:
>> file: sometext.yaml
>> name: sometext
>>
>> - debug:
>> msg: "{{ hostinfo|dictsort|selectattr('1.hostclass', 'equalto',
>> 'ess')|first
Hi, my question is ::
My ansible script will be running for multiple systems. But in
elasticsearch.jinja2 how can i change the value of node.name for different
systems.
Jinja 2 Code::-
---
# -- Cluster
---
Apr, 2018, 17:33 Bishwajit Samanta, <
bishwajitsamanta1...@gmail.com> wrote:
> Share me your host file which you have configured in ansible, where you
> have decalared your connection type as winrm etc. May be i can look into it
> and help you.
>
> On Thursday, April 12, 2018 a
u want to achieve. That is,
> describe the end result that you are seeking.
>
> That is more likely to get a useful response.
>
> Regards, K.
>
>
> On Thu, Apr 12, 2018 at 9:58 PM, Bishwajit Samanta <
> bishwajits...@gmail.com > wrote:
>
>> Any one can sugges
Share me your host file which you have configured in ansible, where you
have decalared your connection type as winrm etc. May be i can look into it
and help you.
On Thursday, April 12, 2018 at 5:13:54 PM UTC+5:30, ishita pandey wrote:
>
> Hi team,
>
>
> I am trying to setup winrm connection to w
i have configured once, this during the time i have change certain
parameters in the host file, where i declared the connection type as winrm
etc. If you can share your host file configuaration, may be i can look into
it.
On Thursday, April 12, 2018 at 5:13:54 PM UTC+5:30, ishita pandey wrote:
Any one can suggest any idea please..
On Thursday, April 12, 2018 at 8:21:32 AM UTC+5:30, Bishwajit Samanta wrote:
>
> Hi all,
>
> I am a beginner in ansible. If anyone can help me in finding the answer.
> It would be great. My problem was finding a phrase in ansible which one o
[defaults]
I used callback_whitelist = profile_tasks
You can set it in ansible.cfg.
That can solve your problem i guess.
On Wednesday, March 21, 2018 at 3:57:59 AM UTC+5:30, ordered...@gmail.com
wrote:
>
> I want to set it up so there is a current ansible playbook run timestamp
> set at the
I just changed the host as devops
---
- hosts: devops
gather_facts: no
tasks:
- name: Get the running process across the systems
command: ps -ef
register: output
- name: Getting some details of systems
local_action: copy content={{ output }} dest=/opt/{{
inventory_h
Hi all,
I am a beginner in ansible. If anyone can help me in finding the answer. It
would be great. My problem was finding a phrase in ansible which one of the
person have helped me. But unfortunately i am not able to fit the piece of
code in my playbook.
hostinfo:
host001':
ip: 192.168.
on
> Jinja2 at http://jinja.pocoo.org/docs/dev/templates/
>
> For the `first` filter specifically:
> http://jinja.pocoo.org/docs/dev/templates/#first
>
> On Wed, Apr 11, 2018 at 11:47 AM, Bishwajit Samanta <
> bishwajits...@gmail.com > wrote:
>
>> @Matt Martz : I am
googled selectattr but first|first parameter which you have passed i am not
getting any good document. If you can help me in referring such, it would
be of very nice help.
On Wednesday, April 11, 2018 at 9:36:13 PM UTC+5:30, Bishwajit Samanta
wrote:
>
> I am glad you replied so fast, but sorry
#x27;, 'equalto',
'ess')|first|first }}"
~
~
On Wednesday, April 11, 2018 at 8:54:15 PM UTC+5:30, Bishwajit Samanta
wrote:
>
> i am having a problem in finding solution. I have a piece of file which
> contains data in below format (json type with quotes):
i am having a problem in finding solution. I have a piece of file which
contains data in below format (json type with quotes)::-
hostinfo:
'host001':
ip: x.x.x.x
hostclass: 'puppet'
'host002':
ip: y.y.y.y
hostclass: 'ess'
'host003':
ip: z.z.z.z
hostclass: 'mdb'
No
36 matches
Mail list logo