Is there anyway in Ansible playbook to start multiple services in a single module / task ?
Hi, Maybe you can made a loop in your task ?
- name: service activation
service:
name: {{ item }}
state: started
enabled: yes
with_item:
- httpd
- ssh
- ...
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.