Thanks a lot Mohan for your help.
Thanks & Regards
Rajendra Rawat
On Wed, 31 Oct 2018 at 13:37, Mohan L wrote:
>
> You can create a directory called 'all' under your playbook group_vars
> directory and use 'all' in your ad hoc command. This way the variables
/ansible/group_var/?
Thanks & Regards
Rajendra Rawat
On Tue, 30 Oct 2018 at 17:06, Mohan L wrote:
>
>
> I have already given you example. You can see If you closely read my first
> replay to this thread. Ansible vault works the same way for both
> ansible-playbook and ansible
Please note sshkey is not setup on target host.
Thanks & Regards
Rajendra Rawat
On Tue, 30 Oct 2018 at 08:21, Mohan L wrote:
>
> You have to pass vault password to ansible command not vault file itself.
> Vault file stores your secrets/variables in encrypted format and vault
>
efault): A vault
password must be specified to decrypt data
ERROR! A vault password must be specified to decrypt data
Am i doing something wrong?
Thanks & Regards
Rajendra Rawat
On Mon, 29 Oct 2018 at 21:19, Mohan L wrote:
> Do you have any problem using vault with ad-hoc??
>
> H
"ansible_user=
ansible_password="
But I want to do this with ansible-vault.
Is it possible ? any help would be appreciated.
Thanks & Regards
Rajendra Rawat
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe
Thanks Kai for the valuable information you shared with me.
Thanks & Regards
Rajendra Rawat
On Sat, 6 Oct 2018 at 12:50, Kai Stian Olstad <
ansible-project+l...@olstad.com> wrote:
> On 05.10.2018 08:14, Rajendra Rawat wrote:
> > Output: ansible xyz.com -a id
> >
Thanks & Regards
Rajendra Rawat
On Thu, 4 Oct 2018 at 15:56, Kai Stian Olstad <
ansible-project+l...@olstad.com> wrote:
> On 04.10.2018 11:47, Rajendra Rawat wrote:
> > I have ran the playbook with - option.
>
> Bassed on the output i still thing something is missing w
Hi Kai,
I have ran the playbook with - option.
Output is as below .
ansible-playbook 2.6.4
config file = /etc/ansible/ansible.cfg
configured module search path =
[u'/scratch/rajrawat/.ansible/plugins/modules',
u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/
Hi All,
I am facing issue while installing httpd into remote server from ansible
control server.
I have a control machine and a webserver machine.
My playbook is given below
---
- hosts: xyz.com
sudo: yes
tasks:
- name: install apache2
yum: pkg=httpd state=latest
ran the playbook