Coder Social home page Coder Social logo

Comments (3)

chillancezen avatar chillancezen commented on July 21, 2024 1

hi @thomnico ,

these issue have been fixed in latest release, you can find all these algorithms in online doc:

https://ansible-galaxy-fortios-docs.readthedocs.io/en/galaxy-1.0.9/gen/fortios_vpn_ipsec_phase1_interface.html

https://ansible-galaxy-fortios-docs.readthedocs.io/en/galaxy-1.0.9/gen/fortios_vpn_ipsec_phase2_interface.html

it has been verified via following playbook:

- hosts: fortigate01
  connection: httpapi
  collections:
  - fortinet.fortios
  vars:
   vdom: "root"
   ansible_httpapi_use_ssl: yes
   ansible_httpapi_validate_certs: no
   ansible_httpapi_port: 443
   phase1_name: 'foo_phase1'
   phase2_name: 'foo_phase2'
  tasks:
   - name: configure phase1 interface
     fortios_vpn_ipsec_phase1_interface:
        vdom:  "{{ vdom }}"
        state: 'present'
        vpn_ipsec_phase1_interface:
            name: '{{ phase1_name }}'
            interface: 'port1'
            net_device: 'disable'
            proposal:
                - 'des-md5'
                - 'des-sha1'
                - 'des-sha512'
            remote_gw: '1.1.1.1'
            psksecret: 'no secret'
   - name: configure phase2 interface
     fortios_vpn_ipsec_phase2_interface:
        vdom:  "{{ vdom }}"
        state: 'present'
        vpn_ipsec_phase2_interface:
            name: '{{ phase2_name }}'
            phase1name: '{{ phase1_name }}'
            proposal:
                - "null-md5"
                - "3des-md5"

install the latest galaxy collection:

$ansible-galaxy collection install fortinet.fortios -f

I now resolve this issue to be fixed, please reopen it and let me know if there is anything I can do to help.

thanks,
Link

from ansible-galaxy-fortios-collection.

chillancezen avatar chillancezen commented on July 21, 2024

@thomnico thanks Nicolas for the issue.
Yes current Galaxy collection only supports one algorithm in limited option range.

we will release next build which support full list and multiple algorithms one time.
please let me know if you really need this very urgently, I can give you a pre-release build.

thanks,
Link

from ansible-galaxy-fortios-collection.

thomnico avatar thomnico commented on July 21, 2024

If not putting anything in proposal but setting the wizard type it works and align with the default of Forticlient which is great.

I can wait for next release and have the bug as a tracker

from ansible-galaxy-fortios-collection.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.