[ansible-project] ansible-playbook command prompt like yes/no while connecting to managed node for the first time

2020-02-19 Thread anilkumar panditi
Hello, All My ansible-playbook -i -vv command prompt like yes/no while connecting to managed node for the first time. How can i avoid the prompting because i have aggregated all ansible-playbook commands in a shell script and running the shell script from UI. And playbook command prompt like

[ansible-project] How can i pass hosts information dynamically from UI and invoke an ansible playbook .

2020-02-26 Thread anilkumar panditi
Hi, I am trying to pass hosts information dynamically from UI and invoke an ansible playbook which will configure the things on the dynamically passed hosts from UI. Could you please help. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group.

[ansible-project] FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}

2020-08-09 Thread anilkumar panditi
Hello, My playbook has following github module , which is failing with error FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false} code: - name: Clone from git repo git: repo: "{{ item.repo_url

[ansible-project] Unable to create the new dashboard : 404 messageDashboard not found

2020-01-08 Thread anilkumar panditi
I am trying to import a Grafana dashboard(JSON) to Grafana. Following is the ansible playbook --- - name: task to parameterise grafana template hosts: localhost become: true user: root tasks: - name: Import Grafana dashboard grafana_dashboard: grafana_url: http://:3000

Re: [ansible-project] Unable to create the new dashboard : 404 messageDashboard not found

2020-01-08 Thread anilkumar panditi
ut suggests it not be > used for 'state: present' > > - uid > uid of the dashboard to export when `state' is `export' or > `absent'. > [Default: (null)] > version_added: 2.7 > > > On Wed, 2020-01-08 at 05:3

[ansible-project] parameterized roles which can import 1 or multiple dashboards based on requirements

2020-01-14 Thread anilkumar panditi
I have following ansible playbook ,which will import few dashboards in an iteration, but i am trying to import dashboard based on input parameter(like kafka,kubernetes etc). could anyone help please. -Playbook: - -- - name: Import Grafana dashboard grafana_dashboard: g

[ansible-project] ansible playbook executing the tasks on localhost(Master Node) instead of remote node

2020-02-04 Thread anilkumar panditi
this is my dynamic inventory # inventory of servers #ungrouped servers hdi_master1 ansible_host=13.234.186.61 ansible_user=centos --private-key=/home/centos/openshift.pem #hdinsights groups [hdinsights_all] hdi_master1 My Playbook: = # Playbook to configure kubernetes - name: In

[ansible-project] How to connect to ec2 instance using .pem file in ansible

2020-02-04 Thread anilkumar panditi
Hi , I am trying to connect to ec2 instance using .pem file in ansible. I am getting below error. fatal: [hdi_master1]: UNREACHABLE! => { "changed": false, "msg": "Failed to connect to the host via ssh: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).", "unreachable": true

Re: [ansible-project] How to connect to ec2 instance using .pem file in ansible

2020-02-04 Thread anilkumar panditi
:30, Stefan Hornburg (Racke) wrote: > > On 2/4/20 1:11 PM, anilkumar panditi wrote: > > Hi , > > I am trying to connect to ec2 instance using .pem file in ansible. > > I am getting below error. > > > > fatal: [hdi_master1]: UNREACHABLE! => { > >

Re: [ansible-project] How to connect to ec2 instance using .pem file in ansible

2020-02-04 Thread anilkumar panditi
Hi, Thank you so much , i am able to connect now to remote node after changing permissions and using correct syntax in inventory file. Thank you once again. On Tuesday, 4 February 2020 18:08:52 UTC+5:30, Stefan Hornburg (Racke) wrote: > > On 2/4/20 1:36 PM, anilkumar panditi wrote: