Commit ece9e2e8 authored by Alain Takoudjou's avatar Alain Takoudjou Committed by Alain Takoudjou

playbook: configure debian9 slapos repository with allow insecure for kernel upgrade

parent bef828d9
- copy: dest=/etc/apt/apt.conf.d/99slapos src=99slapos - copy: dest=/etc/apt/apt.conf.d/99slapos src=../files/99slapos
when: (ansible_distribution == "Debian" and ansible_distribution_major_version == "9") or (ansible_distribution == "Ubuntu" and ansible_distribution_major_version == "17") 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 - name: Update repos for debian 9
......
...@@ -122,4 +122,4 @@ ...@@ -122,4 +122,4 @@
- include: debian9_aptconf.yml - include: roles/debian9-aptconf/tasks/main.yml
--- ---
- include: roles/debian9-aptconf/tasks/main.yml
when: ansible_distribution == "Debian" and ansible_distribution_major_version == "9"
- name: Install kernel 4.9 on debian 9.0 - name: Install kernel 4.9 on debian 9.0
apt: name=linux-image-4.9.0-5-amd64 state=latest update_cache=yes apt: name=linux-image-4.9.0-5-amd64 state=latest update_cache=no
when: ansible_distribution == "Debian" and ansible_distribution_major_version == "9" when: ansible_distribution == "Debian" and ansible_distribution_major_version == "9"
- name: Install Debian jessie-backports repository - name: Install Debian jessie-backports repository
......
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