darkwizard242.msteams
:warning::rotating_light: This project is no longer being updated and has been archived.
Ansible Role: msteams
This role installs (by default) the Microsoft Teams package or uninstalls it (if specified) on Debian and EL-based systems.
Requirements
No requirements.
Role Variables
The variables you can use are listed below (located in defaults/main.yml
):
Variables List:
msteams_app: teams
msteams_app_desired_state: present
# For Debian systems
msteams_repo_debian_gpg_key: https://packages.microsoft.com/keys/microsoft.asc
msteams_repo_debian: "deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main"
msteams_repo_debian_filename: "{{ msteams_app }}"
msteams_repo_debian_desired_state: present
# For EL systems
msteams_repo_el: "https://packages.microsoft.com/yumrepos/ms-teams"
msteams_repo_el_name: teams
msteams_repo_el_description: teams
msteams_repo_el_gpgkey: https://packages.microsoft.com/keys/microsoft.asc
msteams_repo_el_gpgcheck: yes
msteams_repo_el_enabled: yes
msteams_repo_el_filename: "{{ msteams_app }}"
msteams_repo_el_desired_state: present
Variables Table:
Variable | Description |
---|---|
msteams_app | Name of the Microsoft Teams application package to install, e.g., teams |
msteams_app_desired_state | Desired state of the Microsoft Teams package (install, check availability, or uninstall). Use: present , latest , or absent . |
msteams_repo_debian_gpg_key | Microsoft Teams key needed for Debian systems. |
msteams_repo_debian | Microsoft Teams repository URL for Debian systems. |
msteams_repo_debian_filename | Name of the repository file saved at /etc/apt/sources.list.d/ on Debian systems. |
msteams_repo_debian_desired_state | present means create the repository file if it doesn't exist on Debian. Use absent (not recommended) to prevent installation of the teams package. |
msteams_repo_el | Repository base URL for Microsoft Teams on EL systems. |
msteams_repo_el_name | Name of the repository for Microsoft Teams on EL systems. |
msteams_repo_el_description | Description added to the EL repository file for Microsoft Teams. |
msteams_repo_el_gpgkey | Microsoft Teams GPG key needed for EL systems. |
msteams_repo_el_gpgcheck | Whether to perform a GPG check for Microsoft Teams on EL systems (true/false). |
msteams_repo_el_enabled | Whether to enable the Microsoft Teams repository on EL systems (true/false). |
msteams_repo_el_filename | Name of the repository file saved at /yum/sources.list.d/teams.repo on EL systems. |
msteams_repo_el_desired_state | present means create the repository file if it doesn't exist on EL systems. Use absent (not recommended) to prevent installation of the teams package. |
Dependencies
None
Example Playbook
To use the role with the default behavior (installing the msteams package):
- hosts: servers
roles:
- darkwizard242.msteams
To customize the role behavior (for example, to install or upgrade to the latest version of Teams):
- hosts: servers
roles:
- darkwizard242.msteams
vars:
msteams_app_desired_state: latest
To customize the role behavior (for example, to uninstall the msteams package):
- hosts: servers
roles:
- darkwizard242.msteams
vars:
msteams_app_desired_state: absent
License
Author Information
This role was created by Ali Muhammad.
Informazioni sul progetto
Installs/Uninstalls 'Mircrosft Teams'.
Installa
ansible-galaxy install darkwizard242.msteams
Licenza
mit
Download
2.8k
Proprietario
Senior DevOps/CloudOps Engineer.
Dedicated to Automating everything I come across.
Love to work on and learn new technologies/tools everyday!