Jump to content
We've recently updated our Privacy Statement, available here ×

g_sh

Members
  • Posts

    1
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

g_sh's Achievements

Newbie

Newbie (1/14)

  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi, I am having an issue trying to start the tomcat in jasper server: When i run this command locally in the virtual machine it works: sudo /opt/jasperreports-server-7.9.0/ctlscript.sh stop tomcat sudo /opt/jasperreports-server-7.9.0/ctlscript.sh start tomcat And the status is running. But when i create a playbook with two tasks, I have the attached output (Tomcat started) and when i run the command: "sudo /opt/jasperreports-server-7.9.0/ctlscript.sh status tomcat" the status is not running. - name: Stop tomcat shell: /opt/jasperreports-server-7.9.0/ctlscript.sh stop tomcat become_method: sudo - name: Start tomcat shell: /opt/jasperreports-server-7.9.0/ctlscript.sh start tomcat become_method: sudo So it starts but it is not running, when i run the playbook. Any idea? Thanks,
×
×
  • Create New...