https://stackoverflow.com/questions/70898834/which-tools-use-the-tests-directory-in-an-ansible-role-by-default
Walter -- Walter Rowe, Division Chief Infrastructure Services, OISM Mobile: 202.355.4123 On Mar 17, 2023, at 10:28 AM, Ngoc Quan Pham <n.q.pham...@gmail.com> wrote: Hi everyone, As you know, the standard structure of a Ansible role has the directories /default, /handlers, /meta, /tasks, /templates, /vars and /tests. I have basic question of the directory /tests in Ansible roles, but I can’t find the answers. Can you let me know what is the purpose this /tests directory? Is it for testing funtional tasks? Is it possible for Ansible to automatically find yml files in /tests from /tasks/main.yml using include_tasks method? Thank you for your answer. Kind regards, Alex Pham -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com<mailto:ansible-project+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAH6wOdM%2BddHr0f6wzDDM9HOimsT2f8SNimRxE%3DnRvv0RT6ZMPw%40mail.gmail.com<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fansible-project%2FCAH6wOdM%252BddHr0f6wzDDM9HOimsT2f8SNimRxE%253DnRvv0RT6ZMPw%2540mail.gmail.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=05%7C01%7Cwalter.rowe%40nist.gov%7Cd7983d0c3ad94f3ae04808db26f3ee5e%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C0%7C638146601354175105%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=aNSggImZxoPFABM84U%2BW3bF%2BfdERXFNljEulgO4H2aI%3D&reserved=0>. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/8E4CCE36-85E3-4C54-9291-7F3117DA6898%40nist.gov.