tobiko/vagrant/devstack/provision.yaml
Federico Ressi 07e593f829 Rewrite Vagrant file using ansible and Centos 8
Depends-On: Ifa876b3e5f89258f40055fa7ce03f5e9c601771c
Change-Id: I806c76bff85210f74cd23c29835f41c174b8c960
2020-06-23 11:47:17 +02:00

25 lines
470 B
YAML

---
- hosts: all
vars:
tobiko_src_dir: "{{ playbook_dir | realpath | dirname | dirname }}"
pre_tasks:
- debug: var=tobiko_src_dir
- name: "update APT database"
apt:
update_cache: yes
cache_valid_time: 3600
become: yes
when:
- ansible_os_family == 'Debian'
roles:
- tobiko-copy-resolv-conf
- tobiko-redhat-subscription
- tobiko-ensure-ssh-keys
- tobiko-ensure-python3
- tobiko-devstack