ansible-role-ossec/tasks/add_repo_Debian.yml
2018-10-08 19:35:19 +02:00

30 lines
790 B
YAML

---
- name: Registering Ubuntu Atomic repository
apt_repository:
repo: deb https://updates.atomicorp.com/channels/atomic/ubuntu {{ ansible_distribution_name }}
filename: microsoft.list
state: present
update_cache: yes
mode: 0644
# owner: root
# group: root
when:
- ansible_distribution == "Ubuntu"
- name: Registering Debian Atomic repository
apt_repository:
repo: deb https://updates.atomicorp.com/channels/atomic/debian {{ ansible_distribution_name }}
filename: microsoft.list
state: present
update_cache: yes
mode: 0644
# owner: root
# group: root
when:
- ansible_distribution == "Debian"
- name: Install public repository GPG keys
apt_key:
url: https://www.atomicorp.com/RPM-GPG-KEY.atomicorp.txt
state: