mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 03:11:24 -07: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:
parent
328319b926
commit
327832dcbb
30 changed files with 299 additions and 268 deletions
|
@ -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 }}"
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue