Tuxedo services restart

Hi all,

I want to create a playbook to restart tuxedo services, it will be my first playbook in real life, I have been searching on internet some exaples but I could not find nothing.

I want to restar services by domain user.

Example in server01 with domain user cris01, I want to restart all the services under that domain user:

tmshutdown 
tmboot

Please can you help me how to develop this playbook, i only have the basic structure.

---
- name: Tuxedo services restart
 host: server01
 ansible.bultin.service:
 name: Tuxedo service restart
 state:
   

Thank you for your time.

Hello, @Cristian-Gomez-Arand
Please take a look into this thread.

1 Like