Not sure what you mean by 'it doesn't like this method'? I'm guessing
you're getting an error - which would have been helpful in diagnosing the
issue.
So again, guessing, and hard to see from this message, but it looks like
the indentation of the when statement is way off. It should be at the
Hi all,
I am in need of help/pointers from the community in setting up Ansible
ansible 2.3.2.0 on ubuntu 14.04.
At the current stage it has been configure to retrieve the information from
the remote server, but when I tried to do it through playbook (sudo
ansible-playbook ubuntu14upgrade.yml)
I am curious to see what you are all doing to do DB dumps of MSSQL schema's
using Ansible. Looking at the *mssql_db* module, the only option I see is
for importing. What is everyone else doing to get some backups via Ansible?
--
You received this message because you are subscribed to the
On 10 August 2017 at 21:19, Lorenzo Farinas wrote:
> Please provide the procedure on how to add ssh-agent and ssh keys to the
> client with reference to Ansible control machine. My research on this task
> is not productive. - Thanks, Lorenzo
Working with SSH keys and
How do I add a conditionals to debug msg lists?
- name: Print results
debug:
msg:
- "Board: {{ ansible_product_name }}"
- "CPU: {{ ansible_processor[1] }} Cores: {{
ansible_processor_cores }} CPU Count: {{ ansible_processor_count }}"
-
I resolved my initial issue but have run into a new one. The playbook has
not changed but now I am getting the following:
An exception occurred during task execution. The full traceback is:
Traceback (most recent call last):
File "/tmp/ansible_ynl6yO/ansible_module_vmware_guest.py", line 959,
I am looking to use ansible with my Dell X1000 series switches. There is
no network modules for these switches which is fine for me. I plan to use
the raw module.
My issue is that when you connect to these switches via SSH, the switches
always ask for the UserID and Password. Even when you
Please provide the procedure on how to add ssh-agent and ssh keys to the
client with reference to Ansible control machine. My research on this task
is not productive. - Thanks, Lorenzo
On Tuesday, August 8, 2017 at 7:44:13 AM UTC-10, Adrian Likins wrote:
>
> I tried to use the vault by
Well, aside from a thread on vars_files I just posted, you can use facts
that seem to span imports of playbooks. see the set_facts documentation.
You can also set variables in inventory files
On Thursday, August 10, 2017 at 10:35:04 AM UTC-7, Kai Stian Olstad wrote:
>
> On 09. aug. 2017 22:56,
Hello:
I'm trying to dynamically set which vault I'm using (don't want my test
environment to use real passwords!).
So I set up this in a play book that I'm doing an import_playbook from a
different directory.
If vault_file is set from the ansible-playbook command line, this works. If
I set
On 09. aug. 2017 22:56, marta.albec...@gmail.com wrote:
I have some problem and I can't figure out the answear to it. I'm
relatively new to Ansible so I'm still learning. I have to separate
playbooks and I want to set a variable value in one, and use it in the
other. So for example in playbook 1
On 10. aug. 2017 12:49, Sameer Modak wrote:
This is tasks main.yml
vi roles/basic/tasks/main.yml
- name: "Installing VIM and NTP"
yum: name= {{ item }} state=present
You can't have space in front or after the equal sign.
So correct syntax
yum: name={{ item }} state=present
--
Kai
On 10. aug. 2017 11:25, Sameer Modak wrote:
I could rit playbook to get uptime but how we can take action on the output
received from ansible.
how we can grep days from below output and rit restart code for the same.
ok: [NESSTDDB01] => {
"result.stdout": " 12:03pm up 343 days 16:57, 1
On 10. aug. 2017 19:04, Kai Stian Olstad wrote:
On 10. aug. 2017 17:29, Mike Klebolt wrote:
I was
wondering if there was a way for ansible to set up a local environment
(not
remote) during a playbook run that would setup no_proxy on its own.
Any help is greatly appreciated. Thanks!
Check
On 10. aug. 2017 01:12, htallur wrote:
can we setup HA Ansible server using community Ansible ?.
is there already such solution.
Ansible is just a bunch of python script/programs, just install it on
several node and copy your ansible code to all of them, then you have HA.
--
Kai Stian Olstad
On 10. aug. 2017 17:29, Mike Klebolt wrote:
I was
wondering if there was a way for ansible to set up a local environment (not
remote) during a playbook run that would setup no_proxy on its own.
Any help is greatly appreciated. Thanks!
Check out environment
Turns out the application I am trying to install does not have any silent
options. Returns nothing when executed with .\setup-4.0.exe /? or
.\setup-4.0.exe /h /help
On Thursday, August 3, 2017 at 9:37:35 PM UTC-4, Jordan Borean wrote:
>
> You would need to find out what the install arguments
Hi I am playing around with win_psexec to run an interactive install shield
installer. When testing out the functionality from the examples in the
module, the interactive GUI does not open upon execution. Heres my playbook
from http://docs.ansible.com/ansible/latest/win_psexec_module.html :
Hello,
We're using ansible on some windows servers. The ansible_host is
configured with a proxy and is preventing us from connecting to the windows
hosts. My current workaround involves manually exporting no_proxy with the
windows server IPs. While this gets us connected, I still feel like
Hi Dick,
Thanks, your suggestion worked.
On Thursday, August 10, 2017 at 5:45:38 PM UTC+5:30, Dick Visser wrote:
>
> I see.
>
> Just to be sure: how do you exactly call the playbook?
>
> It shouldn't matter, but can you try given the inventory files a .yml
> extension?
>
>
> Dick
>
> On 10
I see.
Just to be sure: how do you exactly call the playbook?
It shouldn't matter, but can you try given the inventory files a .yml extension?
Dick
On 10 August 2017 at 13:01, 'Siva' via Ansible Project
wrote:
> Host I mean is the inventory file.
>
> On
On 10. aug. 2017 12:45, Tomas Dostal wrote:
Any ETA on 2.4?
You can find the roadmap here
https://github.com/ansible/ansible/blob/devel/ROADMAP.rst
--
Kai Stian Olstad
--
You received this message because you are subscribed to the Google Groups "Ansible
Project" group.
To unsubscribe from
Host I mean is the inventory file.
On Thursday, August 10, 2017 at 2:21:03 PM UTC+5:30, Siva wrote:
>
> Hi,
>
> Good Day!
>
> I have a requirement to encrypt the host file in ansible, say for example,
> I want to encrypt the production environment host file so that the host
> information is not
We are getting "one of the following is required: name,list" error on
executing handlers on non sles servers
skipping: [NESSTDDB01] => (item=ntp)
skipping: [NESSTDDB01] => (item=vim)
failed: [NESLTR10AJAWA01] (item=vim) => {"failed": true, "item": "vim",
"msg": "one of the following is
Just to give more information of what I am trying.
host (file name)
[server-a]
server-a
[server-b]
server-b
[appserver:children]
server-a
server-b
_
host_details (file name)
[server-a:vars]
env_name=server-a
ansible_ssh_user=root
ansible_ssh_host=10.0.0.1
Hi, Good job! Any ETA on 2.4? Specifically we really need to start using
the ec2_instance_facts module (ec2_remote_facts before) but I don't seem to
be able to use it with 2.3. It is missing and if I add it manually it
throws errors. Is there any way to add this module before you release 2.4?
Hi
On 10 August 2017 at 10:51, 'Siva' via Ansible Project
wrote:
> Hi,
>
> Good Day!
>
> I have a requirement to encrypt the host file in ansible, say for example, I
> want to encrypt the production environment host file so that the host
> information is not
I could rit playbook to get uptime but how we can take action on the output
received from ansible.
how we can grep days from below output and rit restart code for the same.
ok: [NESSTDDB01] => {
"result.stdout": " 12:03pm up 343 days 16:57, 1 user, load average:
5.15, 5.37, 5.21"
If
Hi,
Good Day!
I have a requirement to encrypt the host file in ansible, say for example,
I want to encrypt the production environment host file so that the host
information is not available with every one.
Can anyone tell me if this is achievable with Ansible Vault? Or any
alternate way how
On 10 August 2017 at 08:48, vikas jagga wrote:
> Hi,
>
> Did you find any solution for this I am also facing the same issue.
>
> On Monday, 22 May 2017 19:49:13 UTC+5:30, Luvpreet Singh wrote:
>>
>> I have just started Ansible today and is facing this early issue.
>>
>>
To clarify - I suspect do not get pw_name in find result value probably
because these users are virtual and retrieved from mysql by nscd daemon.
However system and and all software sees these usernames just fine.
--
You received this message because you are subscribed to the Google Groups
Hi,
Did you find any solution for this I am also facing the same issue.
On Monday, 22 May 2017 19:49:13 UTC+5:30, Luvpreet Singh wrote:
>
> I have just started Ansible today and is facing this early issue.
>
> I have declared ansible_ssh_pass and ansible_ssh_user in the hosts file.
>
> But still
Hi,
I was going through the ansible docs for amazon RDS.
My requirement is that I need to restore Amazon RDS database instance in
from automated daily snapshots. The snapshots and restoration lie in two
separate AWS regions. The RDS command only gives other options and
replicate option
33 matches
Mail list logo