- name: restart web server
shell: sudo /etc/init.d/aria_services restart
when: install_rpm_results|success
register: restart_services_result
failed_when: "'FAIL' in restart_services_result.stdout"
ignore_errors: True"stdout": "Creating /web bind mounts\n=== stop ===\n== no PID means no KILL ==\nClearing wsdl and symfony cache files\n=== start ===\nQuery API OK\nNGUI API OK\nCore API OK\nAdmin API OK\nFailed ARC/VIE API\n2 attempted: 2 started, 2 stopped",
"stdout_lines": [
"Creating /web bind mounts",
"=== stop ===",
"== no PID means no KILL ==",
"Clearing wsdl and symfony cache files",
"=== start ===",
"Query API OK",
"NGUI API OK",
"Core API OK",
"Admin API OK",
"Failed ARC/VIE API",
"2 attempted: 2 started, 2 stopped"
],- name: restart web server
shell: /etc/init.d/aria_services restart
when: install_rpm_results|success
register: restart_services_result
failed_when: "'FAIL' in restart_services_result.stdout"
ignore_errors: True
become_user: root"stderr": "Password: su: Authentication information cannot be recovered\ncat: /etc/aria/services: Permission denied",
"stdout": "No aria services found",--
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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/c87c253a-8aa3-4d13-b38d-727f1ec418c4%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/64c39915-1eaa-4103-9f73-ad9fe1d02814%40googlegroups.com.