Skip to content

Commit

Permalink
refactor(playbooks): move playbooks to their own folder
Browse files Browse the repository at this point in the history
Signed-off-by: Aldo Lacuku <aldo@lacuku.eu>
  • Loading branch information
alacuku committed Jul 25, 2023
1 parent 1c5ffde commit 7c08f4e
Show file tree
Hide file tree
Showing 25 changed files with 7 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ansible-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ jobs:

- name: Run ansible-lint
# replace `main` with any valid ref, or tags like `v6`
uses: ansible/ansible-lint-action@v6.3.0 # the latest version has a bug that do not run in online mode
uses: ansible/ansible-lint-action@v6.3.0 # the latest version has a bug that does not run in online mode
with:
path: "ansible-playbooks/"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ You need to provide the path to the key pair (`ssh_key_path`) and the name of th

## Run tests

From the repository root you can run tests on all machines by typing:
From the `ansible-playbooks` directory you can run tests on all machines by typing:

```bash
ansible-playbook main-playbook --ask-become
Expand Down
5 changes: 2 additions & 3 deletions .ansible-lint → ansible-playbooks/.ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ profile: production # min, basic, moderate,safety, shared, production
# and not relative to the CWD of execution. CLI arguments passed to the --exclude
# option are parsed relative to the CWD of execution.
exclude_paths:
- .github/
- .ansible-lint
- requirements.yml

# Offline mode enables installation of requirements.yml and schema refreshing
# Offline mode disables installation of requirements.yml and schema refreshing
# needed by the community collection
online: true
offline: false
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ machines:
- {name: "ubuntu-6.3", kernel: "therealbobo/ubuntu-kernel:6.3-x86_64", rootfs: "therealbobo/ubuntu-image:6.3-x86_64", arch: "x86_64"}
- {name: "amazonlinux2022-5.15", kernel: "therealbobo/amazonlinux2022-kernel:5.15-aarch64", rootfs: "therealbobo/amazonlinux2022-image:5.15-aarch64", arch: "aarch64"} # noqa: yaml[line-length]
- {name: "amazonlinux2-5.4", kernel: "therealbobo/amazonlinux2-kernel:5.4-aarch64", rootfs: "therealbobo/amazonlinux2-image:5.4-aarch64", arch: "aarch64"}
# - {name: "archlinux-4.14", kernel: "therealbobo/archlinux-kernel:4.14-aarch64", rootfs: "therealbobo/archlinux-image:4.14-aarch64", arch: "aarch64"}
- {name: "fedora-6.2", kernel: "therealbobo/fedora-kernel:6.2-aarch64", rootfs: "therealbobo/fedora-image:6.2-aarch64", arch: "aarch64"}
- {name: "oraclelinux-4.14", kernel: "therealbobo/oraclelinux-kernel:4.14-aarch64", rootfs: "therealbobo/oraclelinux-image:4.14-aarch64", arch: "aarch64"}
- {name: "oraclelinux-5.15", kernel: "therealbobo/oraclelinux-kernel:5.15-aarch64", rootfs: "therealbobo/oraclelinux-image:5.15-aarch64", arch: "aarch64"}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion requirements.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
collections:
- name: community.docker
- name: community.crypto
- name: community.crypto

0 comments on commit 7c08f4e

Please sign in to comment.