9ff5d5483e
sudo package is required when we use ubuntu base on centos to deploy. The following tasks belong to the environment check after installation of environment-related software packages. So, move to the post-install module. Create kolla user Add public key to kolla user authorized keys Grant kolla user passwordless sudo Ensure node_config_directory directory exists for user kolla Ensure node_config_directory directory exists Change-Id: I86bf5e1df3d6568c4f1ca6f4757f08a3dd22754d Closes-Bug: #1777571
61 lines
1.4 KiB
YAML
61 lines
1.4 KiB
YAML
---
|
|
docker_apt_url: "{{ 'http://obs.linaro.org/ERP:/17.12/Debian_9' if ansible_architecture == 'aarch64' else 'https://apt.dockerproject.org' }}"
|
|
docker_apt_key_file: "{{ 'Release.key' if ansible_architecture == 'aarch64' else 'gpg' }}"
|
|
docker_apt_key_id: "{{ 'C32DA102AD89C2BE' if ansible_architecture == 'aarch64' else 'F76221572C52609D' }}"
|
|
|
|
docker_yum_url: "https://yum.dockerproject.org"
|
|
docker_gpg_fingerprint: "58118E89F3A912897C070ADBF76221572C52609D"
|
|
|
|
customize_etc_hosts: True
|
|
|
|
create_kolla_user: True
|
|
|
|
kolla_user: "kolla"
|
|
kolla_group: "kolla"
|
|
|
|
enable_host_ntp: True
|
|
|
|
change_selinux: True
|
|
|
|
selinux_state: "permissive"
|
|
|
|
docker_storage_driver: ""
|
|
|
|
docker_custom_option: ""
|
|
|
|
docker_runtime_directory: ""
|
|
|
|
debian_pkg_install:
|
|
- "{{ 'docker-ce' if ansible_architecture == 'aarch64' else 'docker-engine=1.12.*' }}"
|
|
- git
|
|
- python-setuptools
|
|
- ntp
|
|
|
|
redhat_pkg_install:
|
|
- epel-release
|
|
- docker-engine-1.12.0
|
|
- git
|
|
- python-setuptools
|
|
- ntp
|
|
- sudo
|
|
|
|
ubuntu_pkg_removals:
|
|
- lxd
|
|
- lxc
|
|
- libvirt-bin
|
|
- open-iscsi
|
|
|
|
redhat_pkg_removals:
|
|
- libvirt
|
|
- libvirt-daemon
|
|
- iscsi-initiator-utils
|
|
|
|
# Path to a virtualenv in which to install python packages. If None, a
|
|
# virtualenv will not be used.
|
|
virtualenv:
|
|
|
|
# Whether the virtualenv will inherit packages from the global site-packages
|
|
# directory. This is typically required for modules such as yum and apt which
|
|
# are not available on PyPI.
|
|
virtualenv_site_packages: True
|