On Friday 03 September 2021 at 07:31:14, aman kumar chagti wrote:
> After - option, this coming up. any idea, what's going on??
I know the output below is terribly formatted for reading, but if you do look
through it, you can see that everywhere it is trying to fetch a public key, it
is loo
On Thursday 02 September 2021 at 13:55:09, aman kumar chagti wrote:
> when I try to run the playbook on a remote VM using password-based
> authentication, I'm getting the following error
Which user are you running the playbook as, on the machine running ansible?
Antony.
--
Police have found a
Hi,
---
- hosts: all
gather_facts: no
tasks:
- name: check for server ssh
wait_for:
port: 22
host: "{{ item }}"
state: started
search_regex: SSH
delay: 5
timeout: 300
register: ssh_out
ignore_errors: true
with_items:
-rw-r--r-- are permissions on file. nd ownership is root
On Friday, September 3, 2021 at 8:33:23 PM UTC+5:30 Antony Stone wrote:
> On Friday 03 September 2021 at 16:55:46, aman kumar chagti wrote:
>
> > this is my inventory file:
> >
> > X.X.X.X ansible_user=abc ansible_ssh_pass=xyz ansible_ssh_
On Friday 03 September 2021 at 16:55:46, aman kumar chagti wrote:
> this is my inventory file:
>
> X.X.X.X ansible_user=abc ansible_ssh_pass=xyz ansible_ssh_common_args='-o
> StrictHostKeyChecking=no'
> ansible_ssh_private_key_file=/home/dfc/.ssh/qmx/idk
What are the ownership and permissions on
this is my inventory file:
X.X.X.X ansible_user=abc ansible_ssh_pass=xyz ansible_ssh_common_args='-o
StrictHostKeyChecking=no'
ansible_ssh_private_key_file=/home/dfc/.ssh/qmx/idk
On Friday, September 3, 2021 at 8:18:59 PM UTC+5:30 jyle...@gmail.com wrote:
> Hi,
>
> Look at your /etc/ansible.c
yes, it's a sudoer user
On Friday, September 3, 2021 at 8:16:52 PM UTC+5:30 e.ht...@gmail.com wrote:
> OK for what you are saying.
> Please check again if the ansible user on the target node is a sudoer user
> as i suppose your playbook has tasks to be run in a privileged mode.
>
> On Fri, Sep 3,
Hi,
Look at your /etc/ansible.cfg $HOME/.ansible.cfg in your home or your
inventories files, you probably surcharge ansible_ssh_common_args
somewhere !
Regards,
Le 03/09/2021 à 16:43, aman kumar chagti a écrit :
I'm manually able to log in to target VM by password...but no thru
ansible..ev
OK for what you are saying.
Please check again if the ansible user on the target node is a sudoer user
as i suppose your playbook has tasks to be run in a privileged mode.
On Fri, Sep 3, 2021, 3:40 PM aman kumar chagti
wrote:
> PasswordAuthentication: is set to *yes*.. on both target and contro
I'm manually able to log in to target VM by password...but no thru
ansible..even I tried to use the private key as well..but still the same
issue coming up...
On Friday, September 3, 2021 at 8:10:49 PM UTC+5:30 aman kumar chagti wrote:
> PasswordAuthentication: is set to *yes*.. on both target
PasswordAuthentication: is set to *yes*.. on both target and controller
servers. FYI
On Friday, September 3, 2021 at 8:08:50 PM UTC+5:30 aman kumar chagti wrote:
> on the target server or on controller server??
>
> On Friday, September 3, 2021 at 7:54:28 PM UTC+5:30 e.ht...@gmail.com
> wrote:
>
on the target server or on controller server??
On Friday, September 3, 2021 at 7:54:28 PM UTC+5:30 e.ht...@gmail.com wrote:
> Verify if PasswordAuthentication is set to yes in the /etc/ssh/sshd_config
> and restart the sshd service on the managed node.
>
> On Fri, Sep 3, 2021, 3:07 PM aman kumar
Hello All,
I'm using ansible with a lot of managed docker images, and I'm searching a
way to have a single handler for all my tasks, at least reduce my list of
handlers ...
Something like this (pseudo code)
Handler
```
- name: Run specific service docker compose
docker_compose:
project
Verify if PasswordAuthentication is set to yes in the /etc/ssh/sshd_config
and restart the sshd service on the managed node.
On Fri, Sep 3, 2021, 3:07 PM aman kumar chagti
wrote:
> hi, I used - option, and I found something
> .
> *SH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=
This link will be helpful to understand how to enable password based
authentication.
https://docs.bitnami.com/virtual-machine/faq/get-started/enable-ssh-password/
On Fri, Sep 3, 2021 at 7:37 PM aman kumar chagti
wrote:
> hi, I used - option, and I found something
> .
> *SH: EXEC ssh -vvv -C
hi, I used - option, and I found something
.
*SH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o
KbdInteractiveAuthentication=no -o
PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey *-o
PasswordAuthentication=no* -o 'User="seconize"' -o ConnectTimeout
Hi
I have developed a collection of modules on my local setup.
Now, I've already verified that the CLI docstrings for the modules are
printing correctly
by running
*ansible-doc*
Next, I wanted to generate the HTML webdoc file.
So I followed the steps listed here.
https://docs.ansible.com/ansib
Hi Brian,
I tried using * ' |* ' operator inside the jinja template , but it was not
considered as "btwise or " operator, instead it is considered as pipe for
filter operation that follows it.
The filter_plugin I tried is working now, there was a small coding issue
inside the filetr.py file
18 matches
Mail list logo