os-config/ansible: Add ansible-playbook config files

Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
This commit is contained in:
Filip Gołaś
2025-04-02 16:37:49 +02:00
committed by Michał Kopeć
parent effc1b18eb
commit e7367bc7c3
3 changed files with 32 additions and 0 deletions
@@ -0,0 +1,18 @@
# SPDX-FileCopyrightText: 2024 3mdeb <contact@3mdeb.com>
#
# SPDX-License-Identifier: Apache-2.0
- name: Create a file named "tmp" in the home directory with `Hello World`
hosts: host
become: true
tasks:
- name: Load package names
ansible.builtin.include_vars: "{{os_id}}-packages.yaml"
- name: Install packages
ansible.builtin.package:
name:
- "{{package_lm_sensors}}"
- "{{package_flashrom}}"
- "{{package_libpci_dev}}"
state: present
+7
View File
@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: 2024 3mdeb <contact@3mdeb.com>
#
# SPDX-License-Identifier: Apache-2.0
package_lm_sensors: lm-sensors
package_flashrom: flashrom
package_libpci_dev: libpci-dev
+7
View File
@@ -0,0 +1,7 @@
# SPDX-FileCopyrightText: 2024 3mdeb <contact@3mdeb.com>
#
# SPDX-License-Identifier: Apache-2.0
package_lm_sensors: lm-sensors
package_flashrom: flashrom
package_libpci_dev: pciutils-devel