Skip to content

mamullen13316/ansible_xls_to_facts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible module which imports an Excel spreadsheet to Ansible facts.

Each sheet is represented by "spreadsheet_{sheet_name}" in Ansible. The column headers of each row in the sheet are converted to variable names, and values are populated for each row.

Copy to the library path as specified in your ansible.cfg file.

Requires the openpyxl Python module on the Ansible host.

  • Default behavior is set for data_only to allow extracting values only from formulae

Install with PIP:

sudo pip install openpyxl

About

Ansible module to convert Excel spreadsheet to facts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages