c2602508e1
container_config_data is a new module that replaces some tasks that were previously used to read and process JSON files on a host. Doing it in a module will reduce the number of tasks, and make it a little bit faster and easier to debug in big deployments. Unit tests will come later. Change-Id: I9844ed166ecf0718935ac1537b719000da816dbb
24 lines
890 B
Python
24 lines
890 B
Python
# 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.
|
|
|
|
from tripleo_ansible.ansible_plugins.modules import container_config_data
|
|
from tripleo_ansible.tests import base as tests_base
|
|
|
|
|
|
class TestContainerConfigData(tests_base.TestCase):
|
|
def test_run(self):
|
|
# TODO(emilien) write actual tests
|
|
pass
|