hpc-cloud/ubuntucloudrepo.yml

19 lines
510 B
YAML
Raw Normal View History

---
- hosts: all
name: Dummy to gather facts
become: true
tasks:
2018-06-12 14:15:12 +02:00
- 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.
apt_repository:
repo: "deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/ocata main"
filename: ocata
tags: openstackclient
2018-06-12 14:15:12 +02:00
- apt:
update_cache: yes