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

apache role allows https instead of http #2136

Open
mkbredem opened this issue Apr 9, 2024 · 1 comment
Open

apache role allows https instead of http #2136

mkbredem opened this issue Apr 9, 2024 · 1 comment

Comments

@mkbredem
Copy link

mkbredem commented Apr 9, 2024

Area

Ansible Red Hat Enterprise Linux Workshop

Proposed Changes

When building the tasks/main.yml for the apache role in https://aap2.demoredhat.com/exercises/ansible_rhel/1.7-role/#step-3---building-the-apache-role

the task "Allow HTTPS traffic on web servers" should allow "http" instead for the subsequent config and curl http://node1 command to work.

@mkbredem
Copy link
Author

mkbredem commented Apr 9, 2024

Hereis the specific task as it should appear:

  • name: Allow HTTPS traffic on web servers
    ansible.posix.firewalld:
    service: http
    permanent: true
    state: enabled
    when: inventory_hostname in groups['web']
    notify: Reload Firewall

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

No branches or pull requests

1 participant