mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Fix Ansible documentation in part of example formatting. Part 2 (#333)
* Fix Ansible documentation in part of example formatting * fix * Revert osx_defaults.py
This commit is contained in:
@@ -97,33 +97,33 @@ author: "Scott Anderson (@tastychutney)"
|
||||
'''
|
||||
|
||||
EXAMPLES = """
|
||||
# Run cleanup on the application installed in 'django_dir'.
|
||||
- django_manage:
|
||||
- name: Run cleanup on the application installed in django_dir
|
||||
django_manage:
|
||||
command: cleanup
|
||||
app_path: "{{ django_dir }}"
|
||||
|
||||
# Load the initial_data fixture into the application
|
||||
- django_manage:
|
||||
- name: Load the initial_data fixture into the application
|
||||
django_manage:
|
||||
command: loaddata
|
||||
app_path: "{{ django_dir }}"
|
||||
fixtures: "{{ initial_data }}"
|
||||
|
||||
# Run syncdb on the application
|
||||
- django_manage:
|
||||
- name: Run syncdb on the application
|
||||
django_manage:
|
||||
command: syncdb
|
||||
app_path: "{{ django_dir }}"
|
||||
settings: "{{ settings_app_name }}"
|
||||
pythonpath: "{{ settings_dir }}"
|
||||
virtualenv: "{{ virtualenv_dir }}"
|
||||
|
||||
# Run the SmokeTest test case from the main app. Useful for testing deploys.
|
||||
- django_manage:
|
||||
- name: Run the SmokeTest test case from the main app. Useful for testing deploys
|
||||
django_manage:
|
||||
command: test
|
||||
app_path: "{{ django_dir }}"
|
||||
apps: main.SmokeTest
|
||||
|
||||
# Create an initial superuser.
|
||||
- django_manage:
|
||||
- name: Create an initial superuser
|
||||
django_manage:
|
||||
command: "createsuperuser --noinput --username=admin --email=admin@example.com"
|
||||
app_path: "{{ django_dir }}"
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user