diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-12-22 17:25:45 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-12-22 17:25:45 +0100 |
| commit | 17c0029c69290af0c0f74912cb5eb196b37b322c (patch) | |
| tree | 34813bd8e1f978211241c6e9be7fb45d0759a973 | |
| parent | d386ee1f212b850ebbafc464cdda6b3c7fd65a4a (diff) | |
Add man pages role and explicitly install bash on machines
| -rw-r--r-- | configure.yml | 6 | ||||
| -rw-r--r-- | molecule/archlinux-gnome/converge.yml | 2 | ||||
| -rw-r--r-- | molecule/archlinux/converge.yml | 2 | ||||
| -rw-r--r-- | molecule/debian/converge.yml | 2 | ||||
| -rw-r--r-- | molecule/raspberrypi/converge.yml | 2 | ||||
| -rw-r--r-- | molecule/ubuntu/converge.yml | 2 | ||||
| -rw-r--r-- | roles/man/meta/argument_specs.yml | 6 | ||||
| -rw-r--r-- | roles/man/meta/main.yml | 17 | ||||
| -rw-r--r-- | roles/man/tasks/main.yml | 6 |
9 files changed, 45 insertions, 0 deletions
diff --git a/configure.yml b/configure.yml index 0da310d5..790b4c39 100644 --- a/configure.yml +++ b/configure.yml @@ -9,6 +9,8 @@ - role: "locales" - role: "timezone" - role: "which" + - role: "bash" + - role: "man" - role: "jq" - role: "fonts" - role: "wireguard" @@ -35,6 +37,8 @@ roles: - role: "locales" - role: "timezone" + - role: "bash" + - role: "man" - role: "jq" - role: "fonts" - role: "wireguard" @@ -59,6 +63,8 @@ roles: - role: "locales" - role: "timezone" + - role: "bash" + - role: "man" - role: "jq" - role: "wireguard" - role: "gateway" diff --git a/molecule/archlinux-gnome/converge.yml b/molecule/archlinux-gnome/converge.yml index c8a6c9ed..5ee30d59 100644 --- a/molecule/archlinux-gnome/converge.yml +++ b/molecule/archlinux-gnome/converge.yml @@ -49,6 +49,8 @@ roles: - role: "locales" - role: "timezone" + - role: "bash" + - role: "man" - role: "jq" - role: "yay" - role: "wireguard" diff --git a/molecule/archlinux/converge.yml b/molecule/archlinux/converge.yml index 56d52922..91084759 100644 --- a/molecule/archlinux/converge.yml +++ b/molecule/archlinux/converge.yml @@ -49,6 +49,8 @@ roles: - role: "locales" - role: "timezone" + - role: "bash" + - role: "man" - role: "jq" - role: "yay" - role: "wireguard" diff --git a/molecule/debian/converge.yml b/molecule/debian/converge.yml index 62277fa6..9d0c81f4 100644 --- a/molecule/debian/converge.yml +++ b/molecule/debian/converge.yml @@ -60,6 +60,8 @@ roles: - role: "locales" - role: "timezone" + - role: "bash" + - role: "man" - role: "jq" - role: "wireguard" - role: "gateway" diff --git a/molecule/raspberrypi/converge.yml b/molecule/raspberrypi/converge.yml index e634cddf..4861c10a 100644 --- a/molecule/raspberrypi/converge.yml +++ b/molecule/raspberrypi/converge.yml @@ -58,6 +58,8 @@ roles: - role: "locales" - role: "timezone" + - role: "bash" + - role: "man" - role: "jq" - role: "python" - role: "go" diff --git a/molecule/ubuntu/converge.yml b/molecule/ubuntu/converge.yml index 5e168399..b0babb99 100644 --- a/molecule/ubuntu/converge.yml +++ b/molecule/ubuntu/converge.yml @@ -49,6 +49,8 @@ roles: - role: "locales" - role: "timezone" + - role: "bash" + - role: "man" - role: "jq" - role: "wireguard" - role: "gateway" diff --git a/roles/man/meta/argument_specs.yml b/roles/man/meta/argument_specs.yml new file mode 100644 index 00000000..e9dc90b3 --- /dev/null +++ b/roles/man/meta/argument_specs.yml @@ -0,0 +1,6 @@ +--- +argument_specs: + main: + short_description: "Install man on Linux distribution" + description: "Install manual pages on Linux distribution" + options: {} diff --git a/roles/man/meta/main.yml b/roles/man/meta/main.yml new file mode 100644 index 00000000..b7fbb4a7 --- /dev/null +++ b/roles/man/meta/main.yml @@ -0,0 +1,17 @@ +--- +dependencies: [] +galaxy_info: + author: "a14m" + description: "Install man" + license: "MIT" + min_ansible_version: "2.18" + platforms: + - name: "ArchLinux" + versions: + - "all" + - name: "Ubuntu" + versions: + - "noble" + - name: "Debian" + versions: + - "bookworm" diff --git a/roles/man/tasks/main.yml b/roles/man/tasks/main.yml new file mode 100644 index 00000000..6b0a1af4 --- /dev/null +++ b/roles/man/tasks/main.yml @@ -0,0 +1,6 @@ +--- +- name: "Ensure man is installed" + become: true + ansible.builtin.package: + name: "man-db" + state: "present" |
