ansible-role-powershell/tasks/add_repo_RedHat.yml

9 lines
250 B
YAML

---
- name: Registering Powershell repository
get_url:
url: https://packages.microsoft.com/config/rhel/{{ ansible_distribution_major_version }}/prod.repo
dest: /etc/yum.repos.d/microsoft.repo
owner: root
group: root
mode: 0644