tsuna-server / build-server-ansible

1 stars 0 forks source link

`include` is deprecated use include_tasks/import_tasks/import_playbook instead. #85

Closed TsutomuNakamura closed 2 years ago

TsutomuNakamura commented 2 years ago
[DEPRECATION WARNING]: "include" is deprecated, use include_tasks/import_tasks/import_playbook instead. This feature will be removed in version 2.16. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.

Use import_tasks instead.

TsutomuNakamura commented 2 years ago

Targest.

./roles/glance/tasks/main.yml:  include: create_db/main.yml
./roles/glance/tasks/main.yml:  include: create_service/main.yml
./roles/glance/tasks/main.yml:  include: create_endpoints/main.yml
./roles/glance/tasks/main.yml:  include: prepare_openstack_service/main.yml
./roles/glance/templates/glance/glance-api.conf.j2:#     * A comma separated list that could include:
./roles/keystone/tasks/check_environment/check_to_be_able_to_issue_token.yml:  include: do_check_to_be_able_to_issue_token.yml
./roles/keystone/tasks/check_environment/do_check_to_be_able_to_issue_token.yml:  include: do_check_to_be_able_to_issue_token_per_user.yml
./roles/keystone/tasks/check_environment/do_check_to_be_able_to_issue_token_per_user.yml:  include: do_check_to_be_able_to_issue_token_per_user_assigned_a_role.yml
./roles/keystone/tasks/check_environment/do_check_to_be_able_to_issue_token_per_user_assigned_a_role.yml:  include: do_check_to_be_able_to_issue_token_per_user_assigned_a_role_2.yml
./roles/keystone/tasks/check_environment/main.yml:  include: check_to_be_able_to_issue_token.yml
./roles/keystone/tasks/create_domains/main.yml:  include: do_create_domain.yml
./roles/keystone/tasks/create_projects/create_project_in_domain.yml:  include: do_create_project_in_domain.yml
./roles/keystone/tasks/create_projects/main.yml:  include: create_project_in_domain.yml
./roles/keystone/tasks/create_roles/do_create_role.yml:  include: do_assign_role.yml
./roles/keystone/tasks/create_roles/main.yml:  include: do_create_role.yml
./roles/keystone/tasks/create_users/create_user_in_domain.yml:  include: do_create_user_in_domain.yml
./roles/keystone/tasks/create_users/main.yml:  include: create_user_in_domain.yml
./roles/keystone/tasks/main.yml:  include: create_dbs/main.yml
./roles/keystone/tasks/main.yml:  include: prepare_openstack_service/main.yml
./roles/keystone/tasks/main.yml:  include: create_domains/main.yml
./roles/keystone/tasks/main.yml:  include: create_projects/main.yml
./roles/keystone/tasks/main.yml:  include: create_users/main.yml
./roles/keystone/tasks/main.yml:  include: create_roles/main.yml
./roles/keystone/tasks/main.yml:  include: create_admin_openrc/main.yml
./roles/keystone/tasks/main.yml:  include: check_environment/main.yml
./roles/neutron/tasks/main.yml:  include: include_neutron_with_linux_bridge.yml
./roles/neutron/tasks/main.yml:  include: include_neutron_with_ovn.yml
./roles/neutron/tasks/include_neutron_with_linux_bridge.yml:      include: create_db/main.yml
./roles/neutron/tasks/include_neutron_with_linux_bridge.yml:      include: create_openstack_services/main.yml
./roles/neutron/tasks/include_neutron_with_linux_bridge.yml:      include: create_endpoints/main.yml
./roles/neutron/tasks/include_neutron_with_linux_bridge.yml:      include: install_packages/linux_bridge/controllers/main.yml
./roles/neutron/tasks/include_neutron_with_linux_bridge.yml:      include: set_sysctl/main.yml
./roles/neutron/tasks/include_neutron_with_linux_bridge.yml:      include: set_configurations/linux_bridge/controllers/main.yml
./roles/neutron/tasks/include_neutron_with_linux_bridge.yml:      include: install_packages/linux_bridge/computes/main.yml
./roles/neutron/tasks/include_neutron_with_linux_bridge.yml:      include: set_sysctl/main.yml
./roles/neutron/tasks/include_neutron_with_linux_bridge.yml:      include: set_configurations/linux_bridge/computes/main.yml
./roles/neutron/tasks/include_neutron_with_ovn.yml:      include: create_db/main.yml
./roles/neutron/tasks/include_neutron_with_ovn.yml:      include: create_openstack_services/main.yml
./roles/neutron/tasks/include_neutron_with_ovn.yml:      include: create_endpoints/main.yml
./roles/neutron/tasks/include_neutron_with_ovn.yml:      include: install_packages/ovn/controllers/main.yml
./roles/neutron/tasks/include_neutron_with_ovn.yml:      include: set_configurations/ovn/controllers/main.yml
./roles/neutron/tasks/include_neutron_with_ovn.yml:      include: configure_ovn_interfaces/ovn/controllers/main.yml
./roles/neutron/tasks/include_neutron_with_ovn.yml:      include: configure_ovn_db/main.yml
./roles/neutron/tasks/include_neutron_with_ovn.yml:      include: check_neutron_is_running/controllers/main.yml
./roles/neutron/tasks/include_neutron_with_ovn.yml:      include: install_packages/ovn/computes/main.yml
./roles/neutron/tasks/include_neutron_with_ovn.yml:      include: set_configurations/ovn/computes/main.yml
./roles/neutron/tasks/include_neutron_with_ovn.yml:      include: configure_ovs_services/computes/main.yml
./roles/nova/tasks/set_configuration/controllers/main.yml:##  include: sync_db_for_nova_controllers.yml
./roles/nova/tasks/main.yml:      include: create_dbs/main.yml
./roles/nova/tasks/main.yml:      include: create_services/main.yml
./roles/nova/tasks/main.yml:      include: create_endpoints/main.yml
./roles/nova/tasks/main.yml:      include: install_packages/controllers/main.yml
./roles/nova/tasks/main.yml:      include: set_configuration/controllers/main.yml
./roles/nova/tasks/main.yml:      include: install_packages/computes/main.yml
./roles/nova/tasks/main.yml:      include: set_configuration/computes/main.yml
./roles/placement/tasks/main.yml:      include: create_dbs/main.yml
./roles/placement/tasks/main.yml:      include: create_openstack_services/main.yml
./roles/placement/tasks/main.yml:      include: create_endpoints/main.yml
./roles/placement/tasks/main.yml:      include: prepare_openstack_services/main.yml
./roles/placement/tasks/main.yml:      include: verify_installation/main.yml
./roles/placement/tasks/main.yml:      include: prepare_wsgi_environments/main.yml
./roles/sql/tasks/main.yml:- include: mysql_secure_installation/main.yml
./roles/sql/tasks/mysql_secure_installation/main.yml:  include: ./mysql_secure_installation_for_version_under_10_4.yml
./roles/sql/tasks/mysql_secure_installation/main.yml:  include: ./mysql_secure_installation_for_version_grater_of_equal_10_4.yml
./roles/test_env/tasks/create_example_cirros/main.yml:  include: do_create_image.yml
./roles/test_env/tasks/create_example_cirros/main.yml:  include: do_create_instance.yml
./roles/test_env/tasks/create_example_flavor/main.yml:  include: do_create_flavor.yml
./roles/test_env/tasks/create_example_flavor/main.yml:  include: do_list_flavor.yml
./roles/test_env/tasks/create_example_network/main.yml:  include: do_create_network.yml
./roles/test_env/tasks/create_example_router/main.yml:  include: do_create_router.yml
./roles/test_env/tasks/create_example_security_group/main.yml:  include: do_create_security_group.yml
./roles/test_env/tasks/create_example_security_group/do_create_security_group.yml:  include: do_create_rule.yml
./roles/test_env/tasks/create_example_subnet/main.yml:  include: do_create_subnet.yml
./roles/test_env/tasks/create_ssh_key/main.yml:  include: do_create_ssh_key.yml
./roles/test_env/tasks/add_floating_ip/main.yml:  include: do_add_floating_ip.yml
./roles/test_env/tasks/create_example_rbac/do_create_and_assign_rbac_in_a_network.yml:  include: do_create_and_assign_rbac.yml
./roles/test_env/tasks/create_example_rbac/do_create_and_assign_rbac_in_a_project.yml:  include: do_create_and_assign_rbac_in_a_network.yml
./roles/test_env/tasks/create_example_rbac/do_create_and_assign_rbac_in_a_domain.yml:  include: do_create_and_assign_rbac_in_a_project.yml
./roles/test_env/tasks/create_example_rbac/main.yml:  include: do_create_and_assign_rbac_in_a_domain.yml
./roles/test_env/tasks/main.yml:  include: configure_bridge_for_ovn/main.yml
./roles/test_env/tasks/main.yml:      include: create_example_network/main.yml
./roles/test_env/tasks/main.yml:      include: create_example_subnet/main.yml
./roles/test_env/tasks/main.yml:      include: create_example_router/main.yml
./roles/test_env/tasks/main.yml:      include: create_example_rbac/main.yml
./roles/test_env/tasks/main.yml:      include: create_example_flavor/main.yml
./roles/test_env/tasks/main.yml:      include: create_example_security_group/main.yml
./roles/test_env/tasks/main.yml:      include: create_ssh_key/main.yml
./roles/test_env/tasks/main.yml:      include: create_example_cirros/main.yml
./roles/test_env/tasks/main.yml:      include: add_floating_ip/main.yml
./roles/ovn/tasks/main.yml:  include: create_interfaces_of_ovn/main.yml
TsutomuNakamura commented 2 years ago
$ grep "include:" ./roles/ -r --color | awk '{print $1}' | sort | uniq | sed -e 's/:.*//g'
./roles/glance/tasks/main.yml
./roles/glance/templates/glance/glance-api.conf.j2
./roles/keystone/tasks/check_environment/check_to_be_able_to_issue_token.yml
./roles/keystone/tasks/check_environment/do_check_to_be_able_to_issue_token_per_user_assigned_a_role.yml
./roles/keystone/tasks/check_environment/do_check_to_be_able_to_issue_token_per_user.yml
./roles/keystone/tasks/check_environment/do_check_to_be_able_to_issue_token.yml
./roles/keystone/tasks/check_environment/main.yml
./roles/keystone/tasks/create_domains/main.yml
./roles/keystone/tasks/create_projects/create_project_in_domain.yml
./roles/keystone/tasks/create_projects/main.yml
./roles/keystone/tasks/create_roles/do_create_role.yml
./roles/keystone/tasks/create_roles/main.yml
./roles/keystone/tasks/create_users/create_user_in_domain.yml
./roles/keystone/tasks/create_users/main.yml
./roles/keystone/tasks/main.yml
./roles/neutron/tasks/include_neutron_with_linux_bridge.yml
./roles/neutron/tasks/include_neutron_with_ovn.yml
./roles/neutron/tasks/main.yml
./roles/nova/tasks/main.yml
./roles/nova/tasks/set_configuration/controllers/main.yml
./roles/ovn/tasks/main.yml
./roles/placement/tasks/main.yml
./roles/sql/tasks/main.yml
./roles/sql/tasks/mysql_secure_installation/main.yml
./roles/test_env/tasks/add_floating_ip/main.yml
./roles/test_env/tasks/create_example_cirros/main.yml
./roles/test_env/tasks/create_example_flavor/main.yml
./roles/test_env/tasks/create_example_network/main.yml
./roles/test_env/tasks/create_example_rbac/do_create_and_assign_rbac_in_a_domain.yml
./roles/test_env/tasks/create_example_rbac/do_create_and_assign_rbac_in_a_network.yml
./roles/test_env/tasks/create_example_rbac/do_create_and_assign_rbac_in_a_project.yml
./roles/test_env/tasks/create_example_rbac/main.yml
./roles/test_env/tasks/create_example_router/main.yml
./roles/test_env/tasks/create_example_security_group/do_create_security_group.yml
./roles/test_env/tasks/create_example_security_group/main.yml
./roles/test_env/tasks/create_example_subnet/main.yml
./roles/test_env/tasks/create_ssh_key/main.yml
./roles/test_env/tasks/main.yml