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: I8dbe7ca1354c204d17f2f4bc0ac3be23f4a7cdc9
This commit is contained in:
parent
5803dda74f
commit
24d67e5e75
|
@ -24,29 +24,29 @@
|
|||
tags:
|
||||
- always
|
||||
|
||||
- include: searchlight_pre_install.yml
|
||||
- include_tasks: searchlight_pre_install.yml
|
||||
tags:
|
||||
- searchlight-install
|
||||
|
||||
- include: searchlight_install.yml
|
||||
- include_tasks: searchlight_install.yml
|
||||
tags:
|
||||
- searchlight-install
|
||||
|
||||
- include: searchlight_post_install.yml
|
||||
- include_tasks: searchlight_post_install.yml
|
||||
tags:
|
||||
- searchlight-install
|
||||
- searchlight-config
|
||||
|
||||
- include: searchlight_init.yml
|
||||
- include_tasks: searchlight_init.yml
|
||||
tags:
|
||||
- searchlight-install
|
||||
|
||||
- include: searchlight_service_setup.yml
|
||||
- include_tasks: searchlight_service_setup.yml
|
||||
when: inventory_hostname == groups['searchlight_all'][0]
|
||||
tags:
|
||||
- searchlight-install
|
||||
|
||||
- include: searchlight_index_sync.yml
|
||||
- include_tasks: searchlight_index_sync.yml
|
||||
when: inventory_hostname == groups['searchlight_all'][0]
|
||||
tags:
|
||||
- searchlight-install
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- include: searchlight_init_common.yml
|
||||
- include_tasks: searchlight_init_common.yml
|
||||
with_items:
|
||||
- program_name: "{{ searchlight_api_program_name }}"
|
||||
- program_name: "{{ searchlight_listener_program_name }}"
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- include: searchlight_init_systemd.yml
|
||||
- include_tasks: searchlight_init_systemd.yml
|
||||
|
||||
- name: Load service
|
||||
systemd:
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- include: searchlight_install_apt.yml
|
||||
- include_tasks: searchlight_install_apt.yml
|
||||
when:
|
||||
- ansible_pkg_mgr == 'apt'
|
||||
|
||||
|
|
|
@ -14,16 +14,16 @@
|
|||
# limitations under the License.
|
||||
|
||||
# Setup the host
|
||||
- include: common/test-setup-host.yml
|
||||
- import_playbook: common/test-setup-host.yml
|
||||
|
||||
# Install RabbitMQ/MariaDB
|
||||
- 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 Searchlight
|
||||
- include: test-install-searchlight.yml
|
||||
- import_playbook: test-install-searchlight.yml
|
||||
|
||||
# Test Searchlight
|
||||
- include: test-searchlight-functional.yml
|
||||
- import_playbook: test-searchlight-functional.yml
|
||||
|
|
Loading…
Reference in New Issue