How to run tomcat catalina script on Ansible

后端 未结 2 1627
你的背包
你的背包 2020-12-10 09:24

I am trying to setup Ansible playbook for tomcat application deployment. Apart from starting tomcat everything works without any issues. When i use startup.sh it works but i

2条回答
  •  旧时难觅i
    2020-12-10 09:55

    If you want a quick solution to run tomcat server unattached from Ansible's TTY use the following:

    - name: "Starting Apache server"
      command: nohup {{ apache_install_location }}/tomcat9/bin/startup.sh
    

提交回复
热议问题