I was able to make it work but now after successful execution, it does not
make changes on the end device but result says changes are done.
root@NetworkAutomation-2:~# cat telnettest.yml
---
- name: Telnet test
hosts: cisco
gather_facts: False
tasks:
- telnet:
login_prompt:
I am trying to perform telnet which works fine with username & password but
i want to find a way to enter enable password. Below example does not work.
- name: run show commands
hosts: routers
gather_facts: False
tasks:
- telnet:
password: cisco
prompts:
-
Hey Tariq,
One issue to be aware of. When I generated my certificate and keys, it had
the start time set for 8 hours ahead of time. I can only imagine it set
this because of GMT time and I am US PST. You can check the start time for
the cert with the following command:
openssl x509 -in (name of
I am trying hard to create a simple script to execute a playbook with python
from ansible.parsing.dataloader import DataLoader
from ansible.vars.manager import VariableManager
from ansible.inventory.manager import InventoryManager
from ansible.executor.playbook_executor import PlaybookExecutor
One additional note: The Deb builds for the Ansible PPA failed.
We're working on getting those built and uploaded but no ETA yet.
(Tomorrow is a US holiday so it cuts into the time available to
diagnose, fix, and then release those).
-Toshoi
On Wed, Jul 3, 2019 at 1:56 PM Toshio Kuratomi
Hi all- we're happy to announce that the general release of Ansible 2.8.2,
2.7.12, and 2.6.18 are now available!
How do you get it?
--
$ pip install ansible==2.8.2 --user
or
$ pip install ansible==2.7.12 --user
or
$ pip install ansible==2.6.18 --user
The tar.gz of the releases
Thanks Tom for all your help.
On Tuesday, July 2, 2019 at 4:47:00 PM UTC-5, Thomas Renzy wrote:
>
> Hi Tariq,
>
> You generate this key on your Ansible control system.
>
> Thanks,
> Thomas
>
>
> On Tue, Jul 2, 2019 at 1:38 PM Tariq Iqbal > wrote:
>
>> Hello All,
>>
>> I am trying to follow this
Have you tried using the password module to generate a random passwd?
https://docs.ansible.com/ansible/latest/plugins/lookup/password.html
On Tuesday, July 2, 2019 at 7:36:26 PM UTC-7, Paul Shulz wrote:
>
> Wondering if anyone has tried this or is ansible just
> intentionally designed to to
I've been struggling with this and googling all morning and getting nowhere
fast.
I am using aws dynamic inventory python script to get me an inventory of
instances that I am going to make some changes to.
I need to do this on possibly a large number of accounts. The first account
I am
Hi,
I tried to copy files between network shares on windows machines and the
size of the folder is 19GB. After copying 5GB of data getting the following
error.
*"Exception calling \"Invoke\" with \r\n\"0\" argument(s): \"The running
command stopped because the preference variable
Task in some play imports or includes role (for the project here roles used
in playbook are grabbed from external repositories, not in one repo along
with playbook).
Within role each item starting with "-name:" line is also called "a task" -
as I guess.
Please compare with
Hi everyone,
We've been using Ansible since v2.1 and using static inventory since then.
At v2.7 now. The infra has grown quite a lot and we would like to use
dynamic inventory.
I tried the configuration as it says here
https://docs.ansible.com/ansible/2.7/vmware/vmware_inventory.html and it
I have found an open issue on Github describing the problem. When setting
the same disk size as the template has, everything works fine.
See issue: https://github.com/ansible/ansible/issues/1
--
You received this message because you are subscribed to the Google Groups
"Ansible Project"
I have found an open issue on Github describing the problem. When setting
the same disk size as the template has, everything works fine.
See issue: https://github.com/ansible/ansible/issues/1
On Wednesday, July 3, 2019 at 12:11:38 PM UTC+2, Raoul wrote:
>
> Hi,
>
> I am currently trying to
Sure enough, moving the sitevars into the same playbook with the baseline
worked around the problem. So I at least know where the problem is and I
have a workaround for now.
On Wednesday, July 3, 2019 at 10:29:50 AM UTC-4, Michael Raugh - NOAA
Affiliate wrote:
>
> Thought of that; nope. I
Thought of that; nope. I even deleted the file and started over, no dice.
Also tried backing off the ansible version from 2.8.1 to 2.4.2, and that
didn't help. Neither did setting SELinux to Permissive.
I have to think it's in the mechanism that retries the sitevars from Git.
The latest
No Matter if "system_ip_mac_details" value is present or not in the
"csv_ip_mac_details" am getting the same output every time.
Pls suggest
On Wednesday, July 3, 2019 at 6:32:53 PM UTC+5:30, Rakesh Parida wrote:
>
> Hi Matt,
>
> I am facing one more issue here, iam providing the conditional
Hi Matt,
I am facing one more issue here, iam providing the conditional statemt in
my playbook,,, but both are executing even if the conditions is true or
false.
- name: System_ipaddress_mac_combinations present inside CSV_IP_MAC_DETAILS
fact
debug:
msg : The system_ip-MAC combinations
Hi, we aim for a scenario which seems to be not so easy achievable.
We would like to kind of reset/automate the setup of firewalld on CentOS7.
With walking through defined zones setting services/ports/sources.
What we have so far:
FIREWALLD_ZONE_SERVICE:
- ZONE: public
SERVICES:
-
Hi,
Ansible does not have a mechanism to keep track of changes and
automatically perform a rollback. However, there are a couple of ways you
could use to fulfill your requirement:
- *Using blocks and rescue:* Ansible by default stops playbook execution
on a task failure. However, It
20 matches
Mail list logo