Dmitriy Rabotyagov 7573636fb8 Initial commit to the role
This implements bare minimal functionality for the HTTPD role. It needs
to be extended according to specific use-cases with follow-up patches

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/938571
Change-Id: I7c0dd550c82cc11d2edba724b3f3030a41c0d354
2025-01-10 17:01:14 +00:00

15 lines
362 B
YAML

---
- name: Prepare
hosts: all
tasks:
- name: Update apt cache
ansible.builtin.apt:
update_cache: true
cache_valid_time: 3600
when:
- ansible_facts['os_family'] | lower == 'debian'
- name: Install packages
ansible.builtin.package:
name: "{{ molecule_packages[ansible_facts['os_family'] | lower] }}"