Comments (2)
Hi @giggsitx ,
Thank you for bringing this to my attention. I've executed your script and it appears to be functioning perfectly. I was wondering if you're currently utilizing the latest version of Ansible FOS, specifically "fortinet.fortios:2.3.6"? Additionally, could you please consider enabling the debug feature on the FGT? This would greatly assist us in collecting log information for further investigation. Below is the CLI command to enable the debug session on the FGT:
diagnose debug enable
diagnose debug application httpsd -1
......
[httpsd 302 - 1712954332 info] system_firmware_upgrade[2423] -- upgrade success for '/tmp/upfile'
[httpsd 302 - 1712954332 info] endpoint_process_req_vdom[1030] -- completed API request (rss_pre=232704, rss_post=232860, rss_delta=156)
[httpsd 302 - 1712954332 info] endpoint_process_req[1991] -- Removing temporary upload file: /tmp/monitor_upload_XYPtf0.
[httpsd 302 - 1712954332 info] fweb_debug_final[319] -- Completed POST request for "/api/v2/monitor/system/firmware/upgrade" (HTTP 200)
PLAY [fortigates] *****************************************************************************
TASK [Firmware Upgrade] ***********************************************************************
ok: [fortigate03]
TASK [Check Upgrade Status] *******************************************************************
ok: [fortigate03] => {
"msg": "Firmware upgrade status: {'changed': False, 'meta': {'http_method': 'POST', 'results': {'status': 'success'}, 'vdom': 'root', 'path': 'system', 'name': 'firmware', 'action': 'upgrade', 'status': 'success', 'serial': 'FGT60FTK19009015', 'version': 'v7.2.8', 'build': 1639}, 'failed': False}"
}
PLAY RECAP ************************************************************************************
fortigate03 : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Thanks,
Maxx
from ansible-galaxy-fortios-collection.
hi @MaxxLiu22, i am currently using ansible tower to execute this playbook inside a template, may i know is there any other way to check this? from what i see from the debug, it shows that the playbook run completely fine, but the version did not change or do you think i should use other module like fortios_system_device_upgrade
execution environment is fortigate 1.0.0
from ansible-galaxy-fortios-collection.
Related Issues (20)
- Can not set Admin SSH keys. "Error in Repo" HOT 4
- "Error in repo" using fortios_firewall_policy module HOT 4
- config system globals timezone not numeric in 7.4.2 HOT 3
- How to Create SDWAN Zone HOT 11
- Changing admin user password results in 403 PUT error. HOT 1
- network os fortinet.fortios.fortios is not supported HOT 1
- Is global scope security profile supported? HOT 1
- fortinet.fortios.fortios_monitor_fact filter questions HOT 4
- fortinet.fortios.fortios_monitor -selector upgrade.system.firmware possible issue? HOT 3
- Need help w/playbook to list all managed fortiap's per firewall. HOT 4
- updating policy based routing of fortigate is not working always has seq-num error HOT 2
- There must be at least 1 server certificate configured HOT 2
- Getting 404 error while trying to add IPv6 address group using fortios_firewall_addrgrp6 HOT 2
- Error in comparison/serialize HOT 4
- Question on usage - setting dhcp (v4) reservations HOT 3
- federated-upgrade 7.2.7>7.2.8 problem HOT 2
- fortios_system_global timezone not working with FortiOS 7.4.2 and higher HOT 3
- fortinet.fortios.fortios_firewall_addrgrp module question HOT 8
- check mode error since 2.3.5 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-galaxy-fortios-collection.