use include_tasks instead of include
include is marked as deprecated since ansible 2.4[0] Switch to include_tasks or import_playbook as necessary [0] https://docs.ansible.com/ansible/2.4/include_module.html#deprecated Change-Id: Id2bf058a0b3bceb216861ef21ffa3fcf7a46d32e
This commit is contained in:
parent
7126647d7d
commit
258bae87c3
@ -13,9 +13,9 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- include: test-swift-resources-upgrade.yml
|
||||
- import_playbook: test-swift-resources-upgrade.yml
|
||||
|
||||
- include: common/test-install-swift.yml
|
||||
- import_playbook: common/test-install-swift.yml
|
||||
|
||||
- include: test-swift-resources-results.yml
|
||||
- import_playbook: test-swift-resources-results.yml
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
# Ensure the repo is setup for previous version
|
||||
- include: common/previous/test-repo-setup.yml
|
||||
- import_playbook: common/previous/test-repo-setup.yml
|
||||
|
||||
- name: Playbook for deploying swift
|
||||
hosts: "{{ swift_groups | default('swift_all:swift_remote_all') }}"
|
||||
|
@ -14,13 +14,13 @@
|
||||
# limitations under the License.
|
||||
|
||||
# Setup the keys, host and containers
|
||||
- include: common/test-setup-host.yml
|
||||
- import_playbook: common/test-setup-host.yml
|
||||
|
||||
# Install Memcached/Galera/Rabbitmq
|
||||
- include: common/test-install-infra.yml
|
||||
- import_playbook: common/test-install-infra.yml
|
||||
|
||||
# Install Keystone
|
||||
- include: common/test-install-keystone.yml
|
||||
- import_playbook: common/test-install-keystone.yml
|
||||
|
||||
# Setup Swift-hosts
|
||||
- include: common/test-setup-swifthosts.yml
|
||||
- import_playbook: common/test-setup-swifthosts.yml
|
||||
|
@ -14,13 +14,13 @@
|
||||
# limitations under the License.
|
||||
|
||||
# Setup the keys, host and containers
|
||||
- include: common/test-setup-host.yml
|
||||
- import_playbook: common/test-setup-host.yml
|
||||
|
||||
# Install Infrastructure
|
||||
- include: common/test-install-infra.yml
|
||||
- import_playbook: common/test-install-infra.yml
|
||||
|
||||
# Install Keystone
|
||||
- include: common/test-install-keystone.yml
|
||||
- import_playbook: common/test-install-keystone.yml
|
||||
|
||||
# Install Swift
|
||||
- include: common/test-install-swift.yml
|
||||
- import_playbook: common/test-install-swift.yml
|
||||
|
Loading…
x
Reference in New Issue
Block a user