Installing apache httpd as part of packages

Problem:
I am unsure how to code the yml file to install apache this is what i have currently

Expected outcome:
to install apache after mariadb

Foreman and Proxy versions:
{“result”:“ok”,“status”:200,“version”:“3.4.0”,“api_version”:2}
Foreman and Proxy plugin versions:
{“result”:“ok”,“status”:200,“version”:“3.4.0”,“api_version”:2}
Distribution and version:
{“result”:“ok”,“status”:200,“version”:“3.4.0”,“api_version”:2}
Other relevant data:

This is more of an Ansible question, less Foreman, but I would think that if your main.yml includes httpd.yml after mariadb.yml you’d get the wanted result?

1 Like