[ansible-project] unreachable host comes in failed task

2024-06-24 Thread Azadeh Amirhosseini
Hi All, I am usning ansible-core 2.16.7 when there exists an unreachable host in the hostname list by inventory, say the ip-address is wrong, in the output of the playbook, it comes under failed task, but i expect it to come on unreachable host, as later in call-back module i will do some proces

[ansible-project] Re: ansible 2.17 and fortinet.fortios compatibility

2024-05-28 Thread Azadeh Amirhosseini
Update. For those who are interested, i did uninstall ansible-core 2.17.0 and installed 2.16.7 and now it works as expected. On Wednesday, May 22, 2024 at 11:15:16 AM UTC+2 Azadeh Amirhosseini wrote: > Hi all, > > I have installed Ansible Core 2.17.0. My question is, is the Galaxy >

[ansible-project] ansible 2.17 and fortinet.fortios compatibility

2024-05-22 Thread Azadeh Amirhosseini
Hi all, I have installed Ansible Core 2.17.0. My question is, is the Galaxy collection fortinet.fortios 2.3.6 compatible with this version? I am facing issues executing the related playbook, even though the same playbook runs well with an older version of Ansible. *An exception occurred duri

[ansible-project] Ansible plugin by Pycharm

2024-04-15 Thread Azadeh Amirhosseini
Hi All, which ansible pluging do you suggest to be installed in Pycharm? I want to use Pycharm as IDE for developing my playbooks? Is there any facility that you can write your playbook and test it in the same environment to check the output of the playbook , before migrating it in the ansible

[ansible-project] retries/loop for a bunch of tasks

2024-04-03 Thread Azadeh Amirhosseini
Hi All, how can I implement 'retries:' for a bunch of tasks. Unfortunately it does not work with 'block:' and i get the error: 'ERROR! 'until' is not a valid attribute for a block'. Any idea or trick to get the result is highly welocomed. tasks: - name: "execute show commands before Update" n

[ansible-project] Huawei "display interface" command in playbook

2023-11-07 Thread Azadeh Amirhosseini
Hi All, is there anybody here has the experience to execute "display interface" by a Huawei-ce (CloudEngine) device successfully? All "display" commands could be executed right except "display interface". In the output of the playbook execution, at the end of the result of "display interface", i

[ansible-project] couldn't resolve module/action 'community.network.ne_command'

2023-06-19 Thread Azadeh Amirhosseini
Hi All, bellow is a part of my playbook which tries to connect to a Huawei ne device. --- - hosts: hostlist gather_facts: no connection: network_cli collections: community.network tasks: - name: "Commands NE Huawei" no_log: false community.network.ne_command: comm

[ansible-project] libssh in playbook

2023-06-16 Thread Azadeh Amirhosseini
Hi All, i have this in my playbook under -vars: ansible_network_cli_ssh_type: libssh which collection/plugins should i install to have it work properly? -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop

[ansible-project] ssh: no matching host key type found

2023-06-12 Thread Azadeh Amirhosseini
Hi All, i am using Redhat 9.0 and : $ ssh -V OpenSSH_8.7p1, OpenSSL 3.0.1 14 Dec 2021 after i run ssh command on an ip address, that i can connect to it by putty, i get the below error message: Unable to negotiate with port 22: no matching host key type found. Their offer: ssh-dss,ssh-rsa an

[ansible-project] Huawei ne error by playbook run

2023-06-12 Thread Azadeh Amirhosseini
Hi All, To run my playbook which connects to a Huawei ne as its host, i get bellow error message. Any idea how can i resolve it please: TASK [Commands NE Huawei] ** An exception occurred during task execution. To see the full traceback, use -

Re: [ansible-project] installing ansible-galaxy

2023-06-12 Thread Azadeh Amirhosseini
June 6, 2023 at 8:15:50 PM UTC+2 Nico Kadel-Garcia wrote: > On Tue, Jun 6, 2023 at 9:46 AM Azadeh Amirhosseini > wrote: > > > > Hi All, > > I have an ansible control node, which is the version 2.10.17 > > Delete or replace that software, and update to a contemporary re

[ansible-project] error on Huawei ne host by playbook run

2023-06-12 Thread Azadeh Amirhosseini
Hi All, To run my playbook which connects to a Huawei ne as its host, i get bellow error message. Any idea how can i resolve it please: TASK [Commands NE Huawei] ** An exception occurred during task execution. To see the full traceback, use -v

[ansible-project] installing ansible-galaxy

2023-06-06 Thread Azadeh Amirhosseini
Hi All, I have an ansible control node, which is the version 2.10.17 i need to install fortigate collection by the command: ansible-galaxy collection install fortinet.fortios but i receive the error message (regardless what comes after ansible-galaxy, i kepp on getting the same error message) ERR