openstack-ansible-repo_server/vars/redhat.yml
Jonathan Rosser 467f8e3080 Use distro packages only after they are installed
In an environment with sudo and lsyncd not already installed the pre
install tasks try to set up config files before the config directories
exist, and the tasks fail.

This patch moves the sudo and lsyncd config tasks to run after the
distro packages have been installed.

In addition, sudo is added as a required distro package for the
repo server.

Change-Id: Iab09b732d63d007c1d638ec9dc35834e564e5ce5
2018-10-25 12:08:26 +00:00

37 lines
1.1 KiB
YAML

---
# Copyright 2016, Walmart Stores, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
systemd_utils_prefix: "/lib/systemd"
repo_nginx_repo: http://nginx.org/packages/centos/7/$basearch/
repo_nginx_gpg_key: http://nginx.org/keys/nginx_signing.key
repo_nginx_pid: /run/nginx.pid
git_daemon_path: /usr/libexec/git-core/git-daemon
rsyncd_service_name: rsyncd
repo_server_distro_packages:
- git-daemon
- lsyncd
- nginx
- openssh-server
- rsync
- sudo
repo_lsyncd_config_file: /etc/lsyncd.conf
repo_lsyncd_defaults_file: /etc/sysconfig/lsyncd
repo_server_sshd: sshd