Class: Ansible::Ruby::Modules::Django_manage
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Django_manage
- Defined in:
- lib/ansible/ruby/modules/generated/core/web_infrastructure/django_manage.rb
Instance Method Summary collapse
-
#app_path ⇒ String
The path to the root of the Django application where B(manage.py) lives.
-
#apps ⇒ String?
A list of space-delimited apps to target.
-
#cache_table ⇒ Object?
The name of the table used for database-backed caching.
-
#command ⇒ :cleanup, ...
The name of the Django management command to run.
-
#database ⇒ Object?
The database to target.
-
#failfast ⇒ :yes, ...
Fail the command immediately if a test fails.
-
#fixtures ⇒ String?
A space-delimited list of fixture file names to load in the database.
-
#link ⇒ Object?
Will create links to the files instead of copying them, you can only use this parameter with ‘collectstatic’ command.
-
#merge ⇒ Object?
Will run out-of-order or missing migrations as they are not rollback migrations, you can only use this parameter with ‘migrate’ command.
-
#pythonpath ⇒ String?
A directory to add to the Python path.
-
#settings ⇒ String?
The Python path to the application’s settings module, such as ‘myapp.settings’.
-
#skip ⇒ Object?
Will skip over out-of-order missing migrations, you can only use this parameter with I(migrate).
-
#virtualenv ⇒ String?
An optional path to a I(virtualenv) installation to use while running the manage application.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#app_path ⇒ String
Returns The path to the root of the Django application where B(manage.py) lives.
14 |
# File 'lib/ansible/ruby/modules/generated/core/web_infrastructure/django_manage.rb', line 14 attribute :app_path |
#apps ⇒ String?
Returns A list of space-delimited apps to target. Used by the ‘test’ command.
30 |
# File 'lib/ansible/ruby/modules/generated/core/web_infrastructure/django_manage.rb', line 30 attribute :apps |
#cache_table ⇒ Object?
Returns The name of the table used for database-backed caching. Used by the ‘createcachetable’ command.
34 |
# File 'lib/ansible/ruby/modules/generated/core/web_infrastructure/django_manage.rb', line 34 attribute :cache_table |
#command ⇒ :cleanup, ...
Returns The name of the Django management command to run. Built in commands are cleanup, collectstatic, flush, loaddata, migrate, runfcgi, syncdb, test, and validate.,Other commands can be entered, but will fail if they’re unknown to Django. Other commands that may prompt for user input should be run with the I(–noinput) flag.
10 |
# File 'lib/ansible/ruby/modules/generated/core/web_infrastructure/django_manage.rb', line 10 attribute :command |
#database ⇒ Object?
Returns The database to target. Used by the ‘createcachetable’, ‘flush’, ‘loaddata’, and ‘syncdb’ commands.
37 |
# File 'lib/ansible/ruby/modules/generated/core/web_infrastructure/django_manage.rb', line 37 attribute :database |
#failfast ⇒ :yes, ...
Returns Fail the command immediately if a test fails. Used by the ‘test’ command.
40 |
# File 'lib/ansible/ruby/modules/generated/core/web_infrastructure/django_manage.rb', line 40 attribute :failfast |
#fixtures ⇒ String?
Returns A space-delimited list of fixture file names to load in the database. B(Required) by the ‘loaddata’ command.
44 |
# File 'lib/ansible/ruby/modules/generated/core/web_infrastructure/django_manage.rb', line 44 attribute :fixtures |
#link ⇒ Object?
Returns Will create links to the files instead of copying them, you can only use this parameter with ‘collectstatic’ command.
54 |
# File 'lib/ansible/ruby/modules/generated/core/web_infrastructure/django_manage.rb', line 54 attribute :link |
#merge ⇒ Object?
Returns Will run out-of-order or missing migrations as they are not rollback migrations, you can only use this parameter with ‘migrate’ command.
51 |
# File 'lib/ansible/ruby/modules/generated/core/web_infrastructure/django_manage.rb', line 51 attribute :merge |
#pythonpath ⇒ String?
Returns A directory to add to the Python path. Typically used to include the settings module if it is located external to the application directory.
22 |
# File 'lib/ansible/ruby/modules/generated/core/web_infrastructure/django_manage.rb', line 22 attribute :pythonpath |
#settings ⇒ String?
Returns The Python path to the application’s settings module, such as ‘myapp.settings’.
18 |
# File 'lib/ansible/ruby/modules/generated/core/web_infrastructure/django_manage.rb', line 18 attribute :settings |
#skip ⇒ Object?
Returns Will skip over out-of-order missing migrations, you can only use this parameter with I(migrate).
48 |
# File 'lib/ansible/ruby/modules/generated/core/web_infrastructure/django_manage.rb', line 48 attribute :skip |
#virtualenv ⇒ String?
Returns An optional path to a I(virtualenv) installation to use while running the manage application.
26 |
# File 'lib/ansible/ruby/modules/generated/core/web_infrastructure/django_manage.rb', line 26 attribute :virtualenv |