dkcbk

Flight Engineer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2023
10:16 AM
- 1,365 Views
Ansible dynamic inventory
Hi.
Can someone please help me with one of the EX374 objective:
"Create a dynamic inventory from an identity management server or a database server".
I took DO374 course which covers only ansible.satellite.foreman dynamic inventory. Where I can find some tips or documentation which covers the objective I mentioned above?
Thank you
Can someone please help me with one of the EX374 objective:
"Create a dynamic inventory from an identity management server or a database server".
I took DO374 course which covers only ansible.satellite.foreman dynamic inventory. Where I can find some tips or documentation which covers the objective I mentioned above?
Thank you
2 Replies
laurpaum

Flight Engineer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2023
12:50 PM
- 1,346 Views
I don't know what's expected for this item during the exam (I haven't taken this exam yet). We'll probably have to use an inventory plugin in a playbook, rather than writing the code.
References to the documentation for dynamic inventories are given at the bottom of section 5.1 of the DO374 course. “Working with dynamic inventory” link gives some inventory scripts examples, "Inventory plugins" gives information on how to use inventory plugins, and "Developing dynamic inventory" explains how to write your own inventory plugins.
Get used to finding information in the official Ansible documentation, this is what will be available during the exam.
dkcbk

Flight Engineer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2023
03:59 PM
- 1,327 Views
I know how to use dynamic inventories. The only problem is I dont know which inventory plugin should I use for idm server or DB .
ansible-navigator doc -t inventory -l command returns some plugins, but I cant find the right one.
ansible-navigator doc -t inventory -l command returns some plugins, but I cant find the right one.
Join the discussion
You must log in to join this conversation.