Commit 985dc22d authored by Łukasz Nowak's avatar Łukasz Nowak

playbook: Convert to a list

parent a710cc10
- name: Allow release-info to change for APT repositories
command: apt-get update -y --allow-releaseinfo-change
when: (ansible_distribution == "Debian" and ansible_ditribution_major_version|int > 9) or
(ansible_ditribution == "Ubuntu" and ansible_ditribution_major_version|int > 18)
- name: Install gpg using apt
apt: name=gpg state=present
apt:
name:
- gpg
state: present
when: ansible_distribution == "Debian" and ansible_distribution_major_version == "10"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment