mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
modules: fix examples to use FQCN (#644)
* modules: fix examples to use FQCN * fix * fix * fix
This commit is contained in:
@@ -98,18 +98,18 @@ author: "Scott Anderson (@tastychutney)"
|
||||
|
||||
EXAMPLES = """
|
||||
- name: Run cleanup on the application installed in django_dir
|
||||
django_manage:
|
||||
community.general.django_manage:
|
||||
command: cleanup
|
||||
app_path: "{{ django_dir }}"
|
||||
|
||||
- name: Load the initial_data fixture into the application
|
||||
django_manage:
|
||||
community.general.django_manage:
|
||||
command: loaddata
|
||||
app_path: "{{ django_dir }}"
|
||||
fixtures: "{{ initial_data }}"
|
||||
|
||||
- name: Run syncdb on the application
|
||||
django_manage:
|
||||
community.general.django_manage:
|
||||
command: syncdb
|
||||
app_path: "{{ django_dir }}"
|
||||
settings: "{{ settings_app_name }}"
|
||||
@@ -117,13 +117,13 @@ EXAMPLES = """
|
||||
virtualenv: "{{ virtualenv_dir }}"
|
||||
|
||||
- name: Run the SmokeTest test case from the main app. Useful for testing deploys
|
||||
django_manage:
|
||||
community.general.django_manage:
|
||||
command: test
|
||||
app_path: "{{ django_dir }}"
|
||||
apps: main.SmokeTest
|
||||
|
||||
- name: Create an initial superuser
|
||||
django_manage:
|
||||
community.general.django_manage:
|
||||
command: "createsuperuser --noinput --username=admin --email=admin@example.com"
|
||||
app_path: "{{ django_dir }}"
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user