trew in update cache

This commit is contained in:
Egon Rijpkema 2018-06-12 14:15:12 +02:00
parent 594edf728f
commit 2c6f89a6c3

View File

@ -3,8 +3,16 @@
name: Dummy to gather facts name: Dummy to gather facts
become: true become: true
tasks: tasks:
- name: install openstack repo key host.
command: apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5EDB1B62EC4926EA
tags: openstackclient
- name: install openstack repo on host. - name: install openstack repo on host.
apt_repository: apt_repository:
repo: "deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/ocata main" repo: "deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/ocata main"
filename: ocata filename: ocata
tags: openstackclient tags: openstackclient
- apt:
update_cache: yes