Hi Robert,

Are you able to run playbooks using fortinet galaxy collections.

Actually I am facing issue using it.

Can you please show how you maintain inventory file and playbook with 
sample values.

Is it work with python2 interpreter.

I am getting timeout error.

---
- hosts: fortigate
  collections:
   - fortinet.fortios
  connection: httpapi
  vars:
   vdom: "root"
   #ansible_httpapi_use_ssl: yes
   ansible_httpapi_validate_certs: no
   #ansible_httpapi_port: 443
  tasks:
  - name: Configure global attributes.
    fortios_system_global:
      vdom:  "{{ vdom }}"
      system_global:
         pre_login_banner: "enable"

[fortigate]
[fortigate:vars]
xx.xx.xx.xx
ansible_network_os=fortinet.fortios.fortios
ansible_python_interpreter=/usr/bin/python3
ansible_user=xxxx
ansible_password=xxxx

On Wednesday, May 13, 2020 at 2:50:57 PM UTC+5:30 Robert wrote:

> Hallo Andrew,
>
> I had the same problem as you. Please use 
> https://galaxy.ansible.com/fortinet/fortios. This works very well.
>
> Am Mittwoch, 6. Mai 2020 21:49:51 UTC+2 schrieb Andrew Meyer:
>>
>> Has anyone gotten a fortinet/fortigate playbook to work?  I have a 
>> Fortigate 100D running 6.2.2 and I can't get it to pass an ansible ping.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/0bac650c-6e49-4f64-a7de-65560e0c0a4fn%40googlegroups.com.

Reply via email to