![]() Please see attached photos for more info. You can specify a different inventory file at the command line using the -i option or in.The default location for this file is /etc/ansible/hosts. The simplest inventory is a single file with a list of hosts and groups. I've added the script and modified the outStock function as I understood, however I'm having some issues regarding the subtraction. Once your inventory is defined, you use patterns to select the hosts or groups you want Ansible to run against. It would be amazing if somebody could help with the right functions. I've come across many questions where people had a similar concept for a button but none looking up a specific product to add the quantity to. ![]() OUTStock on the other hand would be any stock taken out from the cellar, so the same concept but instead of adding to previously said columns it would subtract from.Īfter this process columns B2:B30 and E2:F30 from INStock/OUTStock need to have their content cleared. The boxes on column E of INStock would be added to their respective products in column C in the inventory sheet, and the individual bottles would be transferred from column F of the INStock sheet to their respective products on column D in the inventory sheet. Inventory sheet, where products are to be added/subtracted fromĮssentially, once clicking UPDATE in INStock, all the items listed would be found via their respective SKU code in the Inventory sheet and added to the current stock. Most buttons are now working, but we are still missing the script for the UPDATE buttons in the INStock and OUTStock sheets.Īn example of a clear OUTStock sheet, how it should look after clicking update and having all the products sent/added to inventory listĮxample of products put into INStock sheet from Excel and Google Sheets to build flexible and powerful solutions. ![]() We've been trying to create a dynamic inventory list with all the products, each given an SKU and unit size. Manage projects, automate workflows, and build your own no-code apps for teamwork.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |