
- add multinode support for devstack nodes - write clouds.yaml and ssh_config file to devstack-tobiko-deploy source dir - update tobiko.conf file - create simple functional test cases to test vagrant configuration - remove local projects synchronization Change-Id: I9d2517d5fa6c72b98726af8aa3ba9fa8bcf0918f
34 lines
742 B
YAML
34 lines
742 B
YAML
---
|
|
|
|
- name: copy '{{ resolv_conf_file}}' file
|
|
become: true
|
|
copy:
|
|
src: '{{ resolv_conf_file }}'
|
|
dest: /etc/resolv.conf
|
|
owner: root
|
|
group: root
|
|
mode: '0644'
|
|
|
|
- name: update APT database
|
|
apt:
|
|
update_cache: true
|
|
cache_valid_time: 3600
|
|
become: true
|
|
when:
|
|
- ansible_os_family == 'Debian'
|
|
|
|
- become: true
|
|
when:
|
|
- ansible_distribution == "CentOS"
|
|
- ansible_distribution_major_version == "8"
|
|
block:
|
|
- name: Switch from CentOS Linux repos to Centos Stream repos
|
|
command: dnf -y swap centos-linux-repos centos-stream-repos
|
|
args:
|
|
warn: false
|
|
|
|
- name: Switch packages from CentOS Linux to to Centos Stream
|
|
command: dnf -y distro-sync
|
|
args:
|
|
warn: false
|