Browse Source

Empty playbooks are not valid

Ansible does not allow empty playbooks files, we get rid of them.

Also moves one wrongly places verify.yml task file which would have
confused molecule.

Change-Id: I5cb2bbedde9d872cc3bb09b525881c3bc64a51da
Partial: https://review.opendev.org/c/openstack/tripleo-ansible/+/779180
changes/10/779210/2
Sorin Sbarnea 5 months ago
parent
commit
05f6e7f388
  1. 15
      _skeleton_role_/molecule/default/verify.yml
  2. 15
      tripleo_ansible/roles/tripleo_ceph_run_ansible/molecule/default/verify.yml
  3. 15
      tripleo_ansible/roles/tripleo_ceph_uuid/molecule/default/verify.yml
  4. 15
      tripleo_ansible/roles/tripleo_ceph_work_dir/molecule/default/verify.yml
  5. 2
      tripleo_ansible/roles/tripleo_cephadm/molecule/default/converge.yml
  6. 0
      tripleo_ansible/roles/tripleo_cephadm/molecule/default/tasks/verify.yml
  7. 15
      tripleo_ansible/roles/tripleo_create_admin/molecule/addkey/verify.yml
  8. 15
      tripleo_ansible/roles/tripleo_create_admin/molecule/default/verify.yml
  9. 15
      tripleo_ansible/roles/tripleo_create_admin/molecule/keygen/verify.yml
  10. 15
      tripleo_ansible/roles/tripleo_derived_parameters/molecule/default/verify.yml
  11. 15
      tripleo_ansible/roles/tripleo_ha_wrapper/molecule/default/verify.yml
  12. 15
      tripleo_ansible/roles/tripleo_nvdimm/molecule/default/verify.yml
  13. 15
      tripleo_ansible/roles/tripleo_puppet_cache/molecule/default/verify.yml
  14. 15
      tripleo_ansible/roles/tripleo_systemd_wrapper/molecule/default/verify.yml

15
_skeleton_role_/molecule/default/verify.yml

@ -1,15 +0,0 @@
---
# Copyright 2020 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.

15
tripleo_ansible/roles/tripleo_ceph_run_ansible/molecule/default/verify.yml

@ -1,15 +0,0 @@
---
# Copyright 2019 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.

15
tripleo_ansible/roles/tripleo_ceph_uuid/molecule/default/verify.yml

@ -1,15 +0,0 @@
---
# Copyright 2019 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.

15
tripleo_ansible/roles/tripleo_ceph_work_dir/molecule/default/verify.yml

@ -1,15 +0,0 @@
---
# Copyright 2019 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.

2
tripleo_ansible/roles/tripleo_cephadm/molecule/default/converge.yml

@ -47,4 +47,4 @@
tripleo_cephadm_client_keys: "{{ mock_ceph_keys }}"
- name: Run verify tasks
include_tasks: verify.yml
include_tasks: tasks/verify.yml

0
tripleo_ansible/roles/tripleo_cephadm/molecule/default/verify.yml → tripleo_ansible/roles/tripleo_cephadm/molecule/default/tasks/verify.yml

15
tripleo_ansible/roles/tripleo_create_admin/molecule/addkey/verify.yml

@ -1,15 +0,0 @@
---
# Copyright 2019 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.

15
tripleo_ansible/roles/tripleo_create_admin/molecule/default/verify.yml

@ -1,15 +0,0 @@
---
# Copyright 2019 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.

15
tripleo_ansible/roles/tripleo_create_admin/molecule/keygen/verify.yml

@ -1,15 +0,0 @@
---
# Copyright 2019 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.

15
tripleo_ansible/roles/tripleo_derived_parameters/molecule/default/verify.yml

@ -1,15 +0,0 @@
---
# Copyright 2020 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.

15
tripleo_ansible/roles/tripleo_ha_wrapper/molecule/default/verify.yml

@ -1,15 +0,0 @@
---
# Copyright 2020 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.

15
tripleo_ansible/roles/tripleo_nvdimm/molecule/default/verify.yml

@ -1,15 +0,0 @@
---
# Copyright 2020 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.

15
tripleo_ansible/roles/tripleo_puppet_cache/molecule/default/verify.yml

@ -1,15 +0,0 @@
---
# Copyright 2019 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.

15
tripleo_ansible/roles/tripleo_systemd_wrapper/molecule/default/verify.yml

@ -1,15 +0,0 @@
---
# Copyright 2019 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.
Loading…
Cancel
Save