Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow disable neutral root page #39

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

Poil
Copy link

@Poil Poil commented Mar 31, 2021


name: Pull request
about: Disable upload of neutral page and allow context


Describe the change
I propose this change to disable the management of the neutral page in case of you want to purge the default ROOT webapp and to allow a context (to map an app to the ROOT path by example)

Testing
I'm using it

@robertdebock
Copy link
Owner

Sounds like a good plan!

The build/test fails now, I think a modification is required. The error: (condensed)

'dict object' has no attribute 'neutral_default_page'
The error appears to be in '/github/workspace/robertdebock/ansible-role-tomcat/tasks/instance.yml': line 62

I think the condition should be changed a little. You now have:

  when:
    - instance.neutral_default_page

I guess you need to check if instance.neutral_default_page is defined too:

  when:
    - instance.neutral_default_page is defined
    - instance.neutral_default_page

Could you try that? Thank!

@Poil Poil force-pushed the allow-disable-neutral-root-page branch from ef19d23 to 3501b9b Compare April 12, 2021 08:44
@Poil
Copy link
Author

Poil commented Apr 12, 2021

Hi,

Strange I configured a default to yes ... ?
I've added an is defined

@robertdebock
Copy link
Owner

Hm, now there is a check (in molecule/default/verify.yml that fails. The check sees if sensitive information is exposed.

  • Please comment/remove the see if sensitive information is not exposed check from molecule/default/verify.yml.

I also see that instance.autodeploy was introduced but not tested nor described in defaults/main.yml.

  • Please describe and set instance.autodeploy in defaults/main.yml. I'll generate the documentation (README.md) later.
  • Please add a test in molecule/default/converge.yml:
      - name: "tomcat-autodeploy"
        shutdown_port: 8026
        non_ssl_connector_port: 8091
        ssl_connector_port: 8453
        ajp_port: 8200
        autodeploy: yes

Thanks!

@yodatak
Copy link

yodatak commented Oct 18, 2022

I'm interested in this functionality and news on this i can help if needed ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants