tripleo-ansible/tripleo_ansible/roles/tripleo_cephadm/molecule/default/vars/mock_ceph_keys.yml

110 lines
3.2 KiB
YAML

---
# 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.
mock_ceph_keys:
results:
- ansible_facts:
discovered_interpreter_python: /usr/libexec/platform-python
ansible_loop_var: item
changed: false
cmd:
- podman
- run
- --rm
- --net=host
- -v
- /etc/ceph:/etc/ceph:z
- -v
- /var/lib/ceph/:/var/lib/ceph/:z
- -v
- /var/log/ceph/:/var/log/ceph/:z
- --entrypoint=ceph
- undercloud.ctlplane.mydomain.tld:8787/ceph-ci/daemon:v5.0.7-stable-5.0-octopus-centos-8-x86_64
- -n
- client.admin
- -k
- /etc/ceph/ceph.client.admin.keyring
- --cluster
- ceph
- auth
- get
- client.openstack
- -f
- json
delta: '0:00:01.501594'
end: '2021-01-29 19:48:16.372821'
failed: false
invocation:
module_args:
attributes: null
backup: null
caps: null
cluster: ceph
content: null
delimiter: null
dest: /etc/ceph/
directory_mode: null
follow: false
force: null
group: null
import_key: true
mode: null
name: client.openstack
output_format: json
owner: null
regexp: null
remote_src: null
secret: null
selevel: null
serole: null
setype: null
seuser: null
src: null
state: info
unsafe_writes: null
user: client.admin
user_key: null
item:
caps:
mgr: allow *
mon: profile rbd
osd: profile rbd pool=vms, profile rbd pool=volumes, profile rbd pool=images
key: AQATZBBgAAAAABAAUl/GZvcldk6G74AoZ2v2rg==
mode: '0600'
name: client.openstack
rc: 0
start: '2021-01-29 19:48:14.871227'
stderr: exported keyring for client.openstack
stderr_lines:
- exported keyring for client.openstack
stdout: >-
[{"entity":"client.openstack",
"key":"AQATZBBgAAAAABAAUl/GZvcldk6G74AoZ2v2rg==",
"caps":{
"mgr":"allow *",
"mon":"profile rbd",
"osd":"profile rbd pool=vms, profile rbd pool=volumes, profile rbd pool=images"
}}]
stdout_lines: >-
- ''
- '[{"entity":"client.openstack",
"key":"AQATZBBgAAAAABAAUl/GZvcldk6G74AoZ2v2rg==",
"caps":{
"mgr":"allow *",
"mon":"profile rbd",
"osd":"profile rbd pool=vms, profile rbd pool=volumes, profile rbd pool=images"
}}]'