1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-20 18:59:08 +00:00
community.general/tests/unit/plugins/modules
patchback[bot] de180d01e0
[PR #11689/a4bba992 backport][stable-12] composer - make create-project idempotent, add force parameter (#11700)
composer - make `create-project` idempotent, add `force` parameter (#11689)

* composer - make create-project idempotent, add force parameter

Adds a check for an existing composer.json in working_dir before running
create-project, so the task is skipped rather than failing on second run.
A new force parameter allows bypassing this check when needed.

Fixes #725.



* changelog fragment: rename to PR number, add PR URL



---------


(cherry picked from commit a4bba99203)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-27 21:34:35 +01:00
..
interfaces_file
conftest.py
FakeAnsibleModule.py
FakeXenAPI.py
gitlab.py
hpe_test_utils.py
linode_conftest.py
oneview_conftest.py
oneview_module_loader.py
test_alerta_customer.py
test_apache2_module.py
test_apk.py
test_archive.py
test_bitbucket_access_key.py
test_bitbucket_pipeline_key_pair.py
test_bitbucket_pipeline_known_host.py
test_bitbucket_pipeline_variable.py
test_bootc_manage.py
test_campfire.py
test_circonus_annotation.py
test_composer.py [PR #11689/a4bba992 backport][stable-12] composer - make create-project idempotent, add force parameter (#11700) 2026-03-27 21:34:35 +01:00
test_composer.yaml [PR #11689/a4bba992 backport][stable-12] composer - make create-project idempotent, add force parameter (#11700) 2026-03-27 21:34:35 +01:00
test_cpanm.py
test_cpanm.yaml
test_datadog_downtime.py
test_dconf.py
test_discord.py
test_django_check.py
test_django_check.yaml
test_django_command.py
test_django_command.yaml
test_django_createcachetable.py
test_django_createcachetable.yaml
test_django_dumpdata.py
test_django_dumpdata.yaml
test_django_loaddata.py
test_django_loaddata.yaml
test_dnf_config_manager.py
test_dnsimple.py
test_dnsimple_info.py
test_etcd3.py
test_facter_facts.py
test_facter_facts.yaml
test_gconftool2.py
test_gconftool2.yaml
test_gconftool2_info.py
test_gconftool2_info.yaml
test_gem.py
test_gio_mime.py
test_gio_mime.yaml
test_github_repo.py
test_github_secrets.py
test_github_secrets_info.py
test_gitlab_deploy_key.py
test_gitlab_group.py
test_gitlab_group_access_token.py
test_gitlab_hook.py
test_gitlab_project.py
test_gitlab_project_access_token.py
test_gitlab_protected_branch.py
test_gitlab_runner.py
test_gitlab_user.py
test_homebrew.py
test_homebrew_cask.py
test_icinga2_downtime.py
test_icinga2_feature.py
test_ini_file.py
test_ip2location_info.py
test_ipa_getkeytab.py
test_ipa_otpconfig.py
test_ipa_otptoken.py
test_ipa_pwpolicy.py
test_ipbase.py
test_java_keystore.py
test_jenkins_build.py
test_jenkins_build_info.py
test_jenkins_credential.py
test_jenkins_node.py
test_jenkins_plugin.py
test_keycloak_authentication.py
test_keycloak_authentication_required_actions.py
test_keycloak_client.py
test_keycloak_client_rolemapping.py
test_keycloak_clientscope.py
test_keycloak_component.py
test_keycloak_identity_provider.py
test_keycloak_realm.py
test_keycloak_realm_info.py
test_keycloak_realm_keys.py
test_keycloak_realm_keys_metadata_info.py
test_keycloak_realm_localization.py
test_keycloak_role.py
test_keycloak_user.py
test_keycloak_user_execute_actions_email.py
test_keycloak_user_federation.py
test_keycloak_userprofile.py
test_krb_ticket.py
test_krb_ticket.yaml
test_linode.py
test_linode_v4.py
test_logrotate.py
test_lvg_rename.py
test_lxca_cmms.py
test_lxca_nodes.py
test_lxd_storage_pool_info.py
test_lxd_storage_volume_info.py
test_macports.py
test_maven_artifact.py
test_modprobe.py
test_monit.py
test_monit.yaml
test_nmcli.py
test_nomad_token.py
test_npm.py
test_npm.yaml
test_nsupdate.py
test_ocapi_command.py
test_ocapi_info.py
test_one_vm.py
test_oneview_datacenter_info.py
test_oneview_enclosure_info.py
test_oneview_ethernet_network.py
test_oneview_ethernet_network_info.py
test_oneview_fc_network.py
test_oneview_fc_network_info.py
test_oneview_fcoe_network.py
test_oneview_fcoe_network_info.py
test_oneview_logical_interconnect_group.py
test_oneview_logical_interconnect_group_info.py
test_oneview_network_set.py
test_oneview_network_set_info.py
test_oneview_san_manager.py
test_oneview_san_manager_info.py
test_open_iscsi.py
test_open_iscsi.yaml
test_opkg.py
test_opkg.yaml
test_pacemaker_cluster.py
test_pacemaker_cluster.yaml
test_pacemaker_info.py
test_pacemaker_info.yaml
test_pacemaker_resource.py
test_pacemaker_resource.yaml
test_pacemaker_stonith.py
test_pacemaker_stonith.yaml
test_pacman.py
test_pacman_key.py
test_pagerduty.py
test_pagerduty_alert.py
test_pagerduty_change.py
test_pamd.py
test_parted.py
test_pkgin.py
test_pmem.py
test_pritunl_org.py
test_pritunl_org_info.py
test_pritunl_user.py
test_pritunl_user_info.py
test_puppet.py
test_puppet.yaml
test_redhat_subscription.py
test_redis_data.py
test_redis_data_incr.py
test_redis_data_info.py
test_redis_info.py
test_rhsm_release.py
test_rhsm_repository.py
test_rpm_ostree_pkg.py
test_rundeck_acl_policy.py
test_scaleway_compute_private_network.py
test_scaleway_private_network.py
test_simpleinit_msb.py
test_slack.py
test_snap.py
test_solaris_zone.py
test_ss_3par_cpg.py
test_sssd_info.py
test_statsd.py
test_sysupgrade.py
test_terraform.py
test_ufw.py
test_usb_facts.py
test_wdc_redfish_command.py
test_wdc_redfish_info.py
test_xcc_redfish_command.py
test_xdg_mime.py
test_xdg_mime.yaml
test_xenserver_guest_info.py
test_xenserver_guest_powerstate.py
test_xfconf.py
test_xfconf.yaml
test_xfconf_info.py
test_xfconf_info.yaml
uthelper.py
utils.py
xenserver_common.py
xenserver_conftest.py