I have an Ansible playbook for deploying a Java app as an init.d daemon.
Being a beginner in both Ansible and Linux I\'m having trouble to conditionally execute task
See the service_facts module, new in Ansible 2.5.
- name: Populate service facts service_facts: - debug: msg: Docker installed! when: "'docker' in services"