Fix compatibility issues with ansible 2.2.0.0
Change-Id: I2acc56daec1777727945c9171a1775246bd52afd
diff --git a/roles/local-ubuntu-repository/tasks/main.yml b/roles/local-ubuntu-repository/tasks/main.yml
index 9e8c439..a91dd1a 100644
--- a/roles/local-ubuntu-repository/tasks/main.yml
+++ b/roles/local-ubuntu-repository/tasks/main.yml
@@ -22,25 +22,25 @@
changed_when: false
when: ubuntu_apt_repo is defined
-- name: Backup Existing Respositories
- become: yes
- copy:
- remote_src: True
- src: "{{ item }}"
- dest: "{{ item }}.{{ timestamp }}~"
- with_items: "{{ existing_repo_lists.stdout_lines }}"
- when: ubuntu_apt_repo is defined
+#- name: Backup Existing Respositories
+# become: yes
+# copy:
+# remote_src: True
+# src: "{{ item }}"
+# dest: "{{ item }}.{{ timestamp }}~"
+# with_items: "{{ existing_repo_lists.stdout_lines }}"
+# when: ubuntu_apt_repo is defined
-- name: Remove Existing Repositories
- become: yes
- file:
- state: absent
- path: "{{ item }}"
- with_items: "{{ existing_repo_lists.stdout_lines }}"
- when: ubuntu_apt_repo is defined
+#- name: Remove Existing Repositories
+# become: yes
+# file:
+# state: absent
+# path: "{{ item }}"
+# with_items: "{{ existing_repo_lists.stdout_lines }}"
+# when: ubuntu_apt_repo is defined
-- name: Ensure Update Repository List
- become: yes
- apt:
- update_cache: yes
- when: ubuntu_apt_repo is defined
+#- name: Ensure Update Repository List
+# become: yes
+# apt:
+# update_cache: yes
+# when: ubuntu_apt_repo is defined