mirror of
https://github.com/de-it-krachten/ansible-role-powershell_linux
synced 2026-05-14 11:51:56 +00:00
No description
- Jinja 70.3%
- PowerShell 29.7%
# [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 ([ |
||
|---|---|---|
| .github/workflows | ||
| defaults | ||
| files | ||
| meta | ||
| molecule/default | ||
| tasks | ||
| .ansible-lint | ||
| .cicd | ||
| .cicd.overwrite | ||
| .collections | ||
| .gitignore | ||
| .releaserc.yml | ||
| .roles | ||
| .yamllint | ||
| CHANGELOG.md | ||
| README.md | ||
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