26f8776974
Update task files names to match standard naming convention of OSA roles. Change-Id: I975f855cccf4583946e9851728637ae96d8c9598
42 lines
1.3 KiB
YAML
42 lines
1.3 KiB
YAML
---
|
|
# Copyright 2016, Comcast Corporation
|
|
#
|
|
# 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.
|
|
|
|
- name: Create the Rally system group
|
|
group:
|
|
name: "{{ rally_system_group_name }}"
|
|
state: "present"
|
|
system: "yes"
|
|
|
|
- name: Create the Rally system user
|
|
user:
|
|
name: "{{ rally_system_user_name }}"
|
|
group: "{{ rally_system_group_name }}"
|
|
comment: "{{ rally_system_user_comment }}"
|
|
shell: "{{ rally_system_user_shell }}"
|
|
system: "yes"
|
|
createhome: "yes"
|
|
home: "{{ rally_system_user_home }}"
|
|
|
|
- name: Create Rally directories
|
|
file:
|
|
path: "{{ item.path }}"
|
|
state: "directory"
|
|
owner: "{{ rally_system_user_name }}"
|
|
group: "{{ rally_system_group_name }}"
|
|
mode: "0750"
|
|
with_items:
|
|
- path: "{{ rally_etc_directory }}"
|
|
- path: "{{ rally_system_user_home }}"
|