
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 1,671 Views
EX403: Ansible roles/variables in kickstarts
Hello all,
In EX403 exam, there are two objectives about using ansible roles/variables in kickstarts. After searching a bit, I couldn't find any useful resource on this specific topic. Is this even possible?
Thanks in advance,
Chris

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 1,375 Views
Can you be more specific on what is needed to achieve? Using Ansible roles assigned to a host/group and parameters defined it should be possible to apply those on host provisionning. Is it what you refer to?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 1,366 Views
Hey,
It's been a long time, but checking the updated objectives, these are not listed.
If you check the wayback machine link(https://web.archive.org/web/20210924012245/https://www.redhat.com/en/services/training/ex403-red-hat...), there are two additional objectives:
- Use Ansible variables in kickstarts
- Use Ansible roles in kickstarts
Of course, you can use vars and roles for host provisioning, but I don't think you can use those on a kickstart file.
Two explanations:
- Generate custom kickstart files using ansible roles/vars (which is out of scope for the specific exam)
- Too vague objective, that's why it has been removed/rephrased.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 1,361 Views
Thanks, that clarifies why it was removed from the exam scope.
However, it might be possible to use Ansible roles and variables from the kickstart. A script in a post block would have to install roles and playbooks and then execute them. This might use host variables as an input. That's feasible, but rather difficult to manage.