--- # Copyright 2021 Red Hat, Inc. # All Rights Reserved. # # 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: Prepare hosts: all roles: - role: test_deps tasks: - name: Install additional dependencies package: name: openssh state: present - name: Enable ceph repsitory command: tripleo-repos --no-stream -b master current-tripleo ceph become: true - name: Ensure ceph-admin group exists group: name: ceph-admin state: present - name: Ensure ceph-admin user exists user: name: ceph-admin comment: ceph-admin group: ceph-admin groups: wheel generate_ssh_key: true - name: Create ceph_spec ceph_spec_bootstrap: new_ceph_spec: "{{ playbook_dir }}/ceph_spec.yaml" deployed_metalsmith: mock/mock_deployed_metal.yaml tripleo_roles: mock/mock_overcloud_roles.yaml delegate_to: localhost