First commit
This commit is contained in:
parent
51070053fb
commit
57542da42d
7 changed files with 92 additions and 0 deletions
30
tasks/add_repo_Debian.yml
Normal file
30
tasks/add_repo_Debian.yml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
- 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:
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue