Static Inventory: Static inventory is default inventory and is defined in the /etc/ansible/ansible.cfg file. Default file can be changed inside the ansible.cfg file. If you want to use a custom file as inventory input can specify it using ” -i /path/to/file ” with Ansible command line.
The post Creating an Ansible static inventory with variables appeared first on LinuxSproutes.
Remember to like our facebook and our twitter @ubuntufree for a chance to win a free Ubuntu laptop by Dell or HP!
Top Trending Pages: Ubuntu Downloads | Ubuntu How To Guide | Download Ubuntu Software | Share Ubuntu Files With Windows