|
|
@ -56,7 +56,10 @@
|
|
|
|
- 'cache_before.stat.mtime != cache_after.stat.mtime'
|
|
|
|
- 'cache_before.stat.mtime != cache_after.stat.mtime'
|
|
|
|
|
|
|
|
|
|
|
|
- name: 'ensure ppa key is installed (expect: pass)'
|
|
|
|
- name: 'ensure ppa key is installed (expect: pass)'
|
|
|
|
apt_key: id='{{test_ppa_key}}' state=present
|
|
|
|
apt_key:
|
|
|
|
|
|
|
|
id: '{{test_ppa_key}}'
|
|
|
|
|
|
|
|
state: present
|
|
|
|
|
|
|
|
keyserver: keyserver.ubuntu.com
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# TEST: apt_repository: repo=<name> update_cache=no
|
|
|
|
# TEST: apt_repository: repo=<name> update_cache=no
|
|
|
@ -87,7 +90,10 @@
|
|
|
|
- 'cache_before.stat.mtime == cache_after.stat.mtime'
|
|
|
|
- 'cache_before.stat.mtime == cache_after.stat.mtime'
|
|
|
|
|
|
|
|
|
|
|
|
- name: 'ensure ppa key is installed (expect: pass)'
|
|
|
|
- name: 'ensure ppa key is installed (expect: pass)'
|
|
|
|
apt_key: id='{{test_ppa_key}}' state=present
|
|
|
|
apt_key:
|
|
|
|
|
|
|
|
id: '{{test_ppa_key}}'
|
|
|
|
|
|
|
|
state: present
|
|
|
|
|
|
|
|
keyserver: keyserver.ubuntu.com
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# TEST: apt_repository: repo=<name> update_cache=yes
|
|
|
|
# TEST: apt_repository: repo=<name> update_cache=yes
|
|
|
@ -118,7 +124,10 @@
|
|
|
|
- 'cache_before.stat.mtime != cache_after.stat.mtime'
|
|
|
|
- 'cache_before.stat.mtime != cache_after.stat.mtime'
|
|
|
|
|
|
|
|
|
|
|
|
- name: 'ensure ppa key is installed (expect: pass)'
|
|
|
|
- name: 'ensure ppa key is installed (expect: pass)'
|
|
|
|
apt_key: id='{{test_ppa_key}}' state=present
|
|
|
|
apt_key:
|
|
|
|
|
|
|
|
id: '{{test_ppa_key}}'
|
|
|
|
|
|
|
|
state: present
|
|
|
|
|
|
|
|
keyserver: keyserver.ubuntu.com
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# TEST: apt_repository: repo=<spec>
|
|
|
|
# TEST: apt_repository: repo=<spec>
|
|
|
@ -130,7 +139,10 @@
|
|
|
|
register: cache_before
|
|
|
|
register: cache_before
|
|
|
|
|
|
|
|
|
|
|
|
- name: ensure ppa key is present before adding repo that requires authentication
|
|
|
|
- name: ensure ppa key is present before adding repo that requires authentication
|
|
|
|
apt_key: keyserver=keyserver.ubuntu.com id='{{test_ppa_key}}' state=present
|
|
|
|
apt_key:
|
|
|
|
|
|
|
|
id: '{{test_ppa_key}}'
|
|
|
|
|
|
|
|
state: present
|
|
|
|
|
|
|
|
keyserver: keyserver.ubuntu.com
|
|
|
|
|
|
|
|
|
|
|
|
- name: 'name=<spec> (expect: pass)'
|
|
|
|
- name: 'name=<spec> (expect: pass)'
|
|
|
|
apt_repository: repo='{{test_ppa_spec}}' state=present
|
|
|
|
apt_repository: repo='{{test_ppa_spec}}' state=present
|
|
|
@ -191,7 +203,10 @@
|
|
|
|
register: cache_before
|
|
|
|
register: cache_before
|
|
|
|
|
|
|
|
|
|
|
|
- name: ensure ppa key is present before adding repo that requires authentication
|
|
|
|
- name: ensure ppa key is present before adding repo that requires authentication
|
|
|
|
apt_key: keyserver=keyserver.ubuntu.com id='{{test_ppa_key}}' state=present
|
|
|
|
apt_key:
|
|
|
|
|
|
|
|
id: '{{test_ppa_key}}'
|
|
|
|
|
|
|
|
state: present
|
|
|
|
|
|
|
|
keyserver: keyserver.ubuntu.com
|
|
|
|
|
|
|
|
|
|
|
|
- name: 'name=<spec> filename=<filename> (expect: pass)'
|
|
|
|
- name: 'name=<spec> filename=<filename> (expect: pass)'
|
|
|
|
apt_repository: repo='{{test_ppa_spec}}' filename='{{test_ppa_filename}}' state=present
|
|
|
|
apt_repository: repo='{{test_ppa_spec}}' filename='{{test_ppa_filename}}' state=present
|
|
|
|