--- - name: Service member principal present hosts: ipaserver become: true tasks: - name: Service HTTP/www.example.com member principals host/test.example.com present ipaservice: ipaadmin_password: SomeADMINpassword name: HTTP/www.example.com principal: - host/test.example.com action: member