No description
  • Jinja 70.3%
  • PowerShell 29.7%
Find a file
semantic-release-bot de877d5360 chore(release): 1.8.0 [skip ci]
# [1.8.0](https://github.com/de-it-krachten/ansible-role-powershell_linux/compare/v1.7.0...v1.8.0) (2026-03-15)

### Features

* Added support for Fedora 43 ([d2942a8](d2942a8b1d))
* Drop support for Fedora 41 ([489c65b](489c65bae5))
2026-03-15 11:40:20 +00:00
.github/workflows Update supported platforms & CI 2026-03-14 19:53:47 +01:00
defaults feat: Update supported platforms & CI 2023-09-09 18:09:50 +02:00
files Add removing modules 2021-12-17 10:08:29 +01:00
meta Update CI 2026-03-06 23:02:23 +01:00
molecule/default Update supported platforms & CI 2026-03-14 15:15:59 +01:00
tasks Delete obsolete comment lines 2024-01-02 21:37:45 +01:00
.ansible-lint feat: Update CI to latest standards 2022-10-09 22:20:39 +02:00
.cicd Update CI 2026-03-06 23:02:23 +01:00
.cicd.overwrite Update CI 2026-03-06 23:02:23 +01:00
.collections feat: Move to FQCN 2022-10-09 22:20:16 +02:00
.gitignore feat: Update supported platforms & CI 2024-12-29 11:43:34 +01:00
.releaserc.yml Update CI 2026-03-06 23:02:23 +01:00
.roles feat: Update CI to latest standards 2022-10-09 22:20:39 +02:00
.yamllint feat: Update supported platforms & CI 2024-12-29 11:43:34 +01:00
CHANGELOG.md chore(release): 1.8.0 [skip ci] 2026-03-15 11:40:20 +00:00
README.md Update CI 2026-03-06 23:02:23 +01:00

CI

ansible-role-powershell_linux

Installs & configures Powershell on various Linux distributions

Dependencies

Roles

None

Collections

None

Platforms

Supported platforms

  • Red Hat Enterprise Linux 81
  • RockyLinux 8
  • OracleLinux 8
  • AlmaLinux 8
  • Debian 11 (Bullseye)
  • Ubuntu 22.04 LTS
  • Fedora 42
  • Fedora 43

Note: 1 : no automated testing is performed on these platforms

Role Variables

defaults/main.yml


# name of the package
powershell_linux_package: powershell

# Directory to copy helper scripts to
powershell_linux_script_dir: /usr/local/bin

# List of default helper scripts
powershell_linux_scripts:
  - install-module.ps1
  - remove-module.ps1
  - register-repository.ps1
  - unregister-repository.ps1

# List of custom helper scripts
powershell_linux_scripts_custom: []

defaults/family-Debian.yml


# Type of installation (package/binary)
powershell_install_type: package

defaults/family-RedHat-9.yml


# Type of installation (package/binary)
powershell_install_type: binary

# List of package required
powershell_packages:
  - libicu

defaults/family-RedHat.yml


# Type of installation (package/binary)
powershell_install_type: package

defaults/family-Suse.yml


# Type of installation (package/binary)
powershell_install_type: package

defaults/Fedora.yml


# Type of installation (package/binary)
powershell_install_type: binary

# List of package required
powershell_packages:
  - libicu

Example Playbook

molecule/default/converge.yml


- name: sample playbook for role 'powershell_linux'
  hosts: all
  become: 'yes'
  vars:
    molecule_driver: '{{ lookup(''env'', ''MOLECULE_DRIVER_NAME'') }}'
    powershell_linux_modules:
      - name: VMware.PowerCLI
        version: 12.7.0.20091289
  tasks:
    - name: Include role 'powershell_linux'
      ansible.builtin.include_role:
        name: powershell_linux