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

Update apache.yml #1053

Merged
merged 2 commits into from
Jul 29, 2023
Merged

Conversation

nat-0205
Copy link
Contributor

SUMMARY

HINT:

CHANGES:

  • Changed "Apache | Enable Site (Debian Only)" module execution conditions by adding 'and zabbix_web_create_vhost'.

ISSUE TYPE

  • Bugfix Pull Request

COMPONENT NAME

  • ROLE : zabbix_web
  • TASK: apache.yml
  • MODULE: Apache | Enable Site (Debian Only)

ADDITIONAL INFORMATION

I made this modification because I noticed that when the var "zabbix_web_create_vhost" is set to false, the "Apache | Enable Site (Debian Only)" module is executed in "zabbix_web/tasks/apache.yml", which is a module that should only be executed if the "zabbix_web_create_vhost" variable is set to true, which gives an error when the role is executed. With this small modification, the module no longer executes when the variable parameter is set to false.

Changed "Apache | Enable Site (Debian Only)" task execution conditions by adding 'and zabbix_web_create_vhost'.
@nat-0205
Copy link
Contributor Author

@pyrodie18 I don't understand why the pull request failed, can you help me to understand please ?

@pyrodie18
Copy link
Collaborator

Has nothing to do with you. Its the sanity check. The devel version of ansible requires python 3.10 or higher. We're currently testing on 3.9. If you look at my PR I'm updating it. We'll get you taken care of soon.

@pyrodie18 pyrodie18 merged commit d60ff0d into ansible-collections:main Jul 29, 2023
44 checks passed
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.

2 participants