Commit e42b3f12 authored by Rafael Monnerat's avatar Rafael Monnerat

playbook: Ubuntu 17 also need extra config like debian (repository)

parent 7bb41c2f
- copy: dest=/etc/apt/apt.conf.d/99slapos src=99slapos
when: ansible_distribution == "Debian" and ansible_distribution_major_version == "9"
when: (ansible_distribution == "Debian" and ansible_distribution_major_version == "9") or (ansible_distribution == "Ubuntu" and ansible_distribution_major_version == "17")
- name: Update repos for debian 9
shell: apt update --allow-insecure-repositories
when: ansible_distribution == "Debian" and ansible_distribution_major_version == "9"
when: (ansible_distribution == "Debian" and ansible_distribution_major_version == "9") or (ansible_distribution == "Ubuntu" and ansible_distribution_major_version == "17")
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