|
|
@ -3,13 +3,13 @@
|
|
|
|
- name: ensure zypper ref works
|
|
|
|
- name: ensure zypper ref works
|
|
|
|
command: zypper -n ref
|
|
|
|
command: zypper -n ref
|
|
|
|
|
|
|
|
|
|
|
|
- name: Delete
|
|
|
|
- name: Delete test repo
|
|
|
|
zypper_repository:
|
|
|
|
zypper_repository:
|
|
|
|
name: test
|
|
|
|
name: test
|
|
|
|
state: absent
|
|
|
|
state: absent
|
|
|
|
register: zypper_result
|
|
|
|
register: zypper_result
|
|
|
|
|
|
|
|
|
|
|
|
- name: Add repo
|
|
|
|
- name: Add test repo
|
|
|
|
zypper_repository:
|
|
|
|
zypper_repository:
|
|
|
|
name: test
|
|
|
|
name: test
|
|
|
|
state: present
|
|
|
|
state: present
|
|
|
@ -23,7 +23,7 @@
|
|
|
|
that:
|
|
|
|
that:
|
|
|
|
- "zypper_result.changed"
|
|
|
|
- "zypper_result.changed"
|
|
|
|
|
|
|
|
|
|
|
|
- name: Add repo again
|
|
|
|
- name: Add same repo again
|
|
|
|
zypper_repository:
|
|
|
|
zypper_repository:
|
|
|
|
name: test
|
|
|
|
name: test
|
|
|
|
state: present
|
|
|
|
state: present
|
|
|
@ -141,3 +141,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
- name: ensure zypper ref still works
|
|
|
|
- name: ensure zypper ref still works
|
|
|
|
command: zypper -n ref
|
|
|
|
command: zypper -n ref
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: "Test adding a repo with custom GPG key"
|
|
|
|
|
|
|
|
zypper_repository:
|
|
|
|
|
|
|
|
name: "Apache_Modules"
|
|
|
|
|
|
|
|
repo: "http://download.opensuse.org/repositories/Apache:/Modules/openSUSE_Tumbleweed/"
|
|
|
|
|
|
|
|
priority: 100
|
|
|
|
|
|
|
|
auto_import_keys: true
|
|
|
|
|
|
|
|
state: "present"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: ensure zypper ref still works
|
|
|
|
|
|
|
|
command: zypper -n ref
|
|
|
|