A user complained in IRC that an Ex-IC moving into management required them to fill out switch port assignment plans in Excel.

And I was thinking, ok, how about we drive Ansible with it, xlsx instead of Yaml?

Turns out, reading xlsx in Python is really, really easy.

As in

$ uv init .
$ uv add pandas openpyxl xlrd xlwt
$ cat > main.py
import pandas as pd

df = pd.read_excel("sample.xlsx")
print(df)
^D
$ uv run main.py

Now we can add Napalm and see what happens.

The script from above, and running it. It works.
0

If you have a fediverse account, you can quote this note from your own instance. Search https://infosec.exchange/users/isotopp/statuses/115576669829401559 on your instance and quote it. (Note that quoting is not supported in Mastodon.)