modules: fix examples to use FQCN (#644)

* modules: fix examples to use FQCN

* fix

* fix

* fix
This commit is contained in:
Andrew Klychkov 2020-07-13 22:50:31 +03:00 committed by GitHub
parent 8b92e0454d
commit 41cfdda6a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
533 changed files with 2130 additions and 2130 deletions

View file

@ -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 }}"
"""