mirror of
https://github.com/Dasharo/open-source-firmware-validation.git
synced 2026-06-13 10:16:18 -07:00
os-config/ansible: Add ansible-playbook config files
Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user