Skip to content

Commit

Permalink
common: Ansible scripts documentation improvement
Browse files Browse the repository at this point in the history
Signed-off-by: Tomasz Gromadzki <tomasz.gromadzki@intel.com>
  • Loading branch information
grom72 committed Oct 2, 2024
1 parent 09d15c1 commit 6aa87f3
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
11 changes: 11 additions & 0 deletions utils/ansible/opensuse-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@
# OpenSUSE to execute tests.
# The playbook description and how to use it are available
# in the README.md file.
#
# Below is an example of how to use this file localy:
#
# a) comment out the first command:
# -hosts: "{{ host }}"
# b) uncomment the next two lines:
# - hosts: localhost
# connection: local
# and run commands as follows e.g.
# sudo ansible-playbook opensuse-setup.yml
#

- hosts: "{{ host }}"
# - hosts: localhost
Expand Down
11 changes: 11 additions & 0 deletions utils/ansible/rockylinux-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@
# configure Rocky Linux to execute tests.
# The playbook description and how to use it are available
# in the README.md file.
#
# Below is an example of how to use this file localy:
#
# a) comment out the first command:
# -hosts: "{{ host }}"
# b) uncomment the next two lines:
# - hosts: localhost
# connection: local
# and run commands as follows e.g.
# sudo ansible-playbook rockylinux-setup.yml
#

- hosts: "{{ host }}"
# - hosts: localhost
Expand Down
4 changes: 2 additions & 2 deletions utils/ansible/update-os.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2023, Intel Corporation
# Copyright 2023-2024, Intel Corporation

# This playbook is designed to update all installed packages at
# Rocky Linux / OpenSUSE and reboot the platform if required.
# The playbook description and how to use it are available
# in the README.md file.
#
# Note: This playbook is designed to work as a composite action during test preparation steps.
# Local usage will fail the playbook run.
# Local usage might cause an immediate system reboot.

- hosts: localhost
connection: local
Expand Down

0 comments on commit 6aa87f3

Please sign in to comment.