🎇Above is the ansible playbook. Here if you see in the vars_files, i haven’t written directly the file name i want to include, in fact, gave a variable and hence we took advantage of ansible_facts and this variable would retrieve os name, and we have written the packages, etc in…