hi Team,
I'm trying to capture a vault signed key from vault via ansible.
But getting permission denied to given mount point path.
Checked for policy attached.It's create, read, update, patch. Still it's
giving me permission denied error.
Please have a look on code and error.
- name: Write SSH
On 13.10.21 13:51, Anirban Das wrote:
I have created aws ec2 instances through Terraform, so that time I have
mentioned key name for ec2 launching. But yes didn't mention ansible private
key in terraform script. So in the provisioner bock I put ansible playbook
command with private-key
I have created aws ec2 instances through Terraform, so that time I have
mentioned key name for ec2 launching. But yes didn't mention ansible
private key in terraform script. So in the provisioner bock I put ansible
playbook command with private-key path. What else do I need to do??
you can
This is just a regular SSH login issue.
It depends on how your instances are configured. Do you have keys
configured in AWS, are you using the userdata to provision them, etc.
On Wed, 13 Oct 2021 at 11:38, Anirban Das wrote:
> | UNREACHABLE! => {
> "changed": false,
> "msg": "Failed
| UNREACHABLE! => {
"changed": false,
"msg": "Failed to connect to the host via ssh: Permission denied
(publickey,gssapi-keyex,gssapi-with-mic).",
"unreachable": true
On Wednesday, 13 October 2021 at 15:02:32 UTC+5:30 dick@geant.org wrote:
> and the exact error would be?
>
and the exact error would be?
On Wed, 13 Oct 2021 at 10:45, Anirban Das wrote:
> HI,
>
> aws_ec2.yml >> dynamic inventory
>
> ---
> plugin: aws_ec2
> aws_access_key_id:
> aws_secret_access_key:
> filters:
> tag:CreatedBy: Terraform
>
>
HI,
aws_ec2.yml >> dynamic inventory
---
plugin: aws_ec2
aws_access_key_id:
aws_secret_access_key:
filters:
tag:CreatedBy: Terraform
httpd_installation.yml -->> playbook
---
- name: Configure WebServer with Apache HTTPD
Hard to give a useful answer without any actual code (playbooks, inventory,
etc)
On Wed, 13 Oct 2021 at 08:47, Anirban Das wrote:
> Hi All,
>
> I'm trying to configure few ec2 instances using ansible, hence I created
> dynamic inventory in controller and playbook both. but I found that I need
>
Hi All,
I'm trying to configure few ec2 instances using ansible, hence I created
dynamic inventory in controller and playbook both. but I found that I need
to pass private key where I'm little bit confused.
1. Does Private key refer to key which is being used for ansible purpose or
ec2