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

add httpd #27

Merged
merged 1 commit into from
Oct 10, 2024
Merged

add httpd #27

merged 1 commit into from
Oct 10, 2024

Conversation

evgeni
Copy link
Member

@evgeni evgeni commented Oct 7, 2024

No description provided.

@evgeni evgeni force-pushed the httpd branch 5 times, most recently from 68ad560 to 27b4ccb Compare October 7, 2024 11:15
roles/httpd/tasks/main.yml Outdated Show resolved Hide resolved
@@ -0,0 +1,56 @@
---
- name: Install Apache httpd
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could use ubi9/httpd-24 but based on the list here we'd have to do some minor customization of it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could, but what would be the benefit?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Normalization of services, configurations mostly.

roles/httpd/tasks/main.yml Outdated Show resolved Hide resolved
@evgeni evgeni marked this pull request as ready for review October 8, 2024 19:05
@ehelms ehelms merged commit 2df4338 into theforeman:master Oct 10, 2024
1 check passed
Comment on lines +17 to +18
path: /etc/httpd/conf.d/welcome.conf
state: absent
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC DNF will "helpfully" place this back after dnf upgrade. Should we keep the file but make sure the content is empty?



def test_https_foreman_ping(host):
cmd = host.run('curl --cacert /root/certificates/certs/ca.crt --silent --output /dev/null --write-out \'%{http_code}\' https://quadlet.example.com/api/v2/ping')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to see more fixtures, like the CA file and hostname.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

3 participants