1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 06:51:10 +03:00
Commit Graph

3286 Commits

Author SHA1 Message Date
Luke Sneeringer
9dfa26fa58 Do not use ip_address on instances anymore. 2014-12-02 13:17:38 -06:00
Jared Tabor
f99a73fb85 text/textarea min/max length
added fields on survey maker for text/textarea min/max length. on survey taker added the error handling for these.
2014-12-02 14:01:34 -05:00
Jared Tabor
e9e2c1f6ab awSurveyVariableName directive
created a new directive to check the variable name field for spaces. this could be expanded for future use if we want to check against other constraints. checked with matt though and he said space checking shoudl suffice
2014-12-02 12:45:31 -05:00
Luke Sneeringer
f890b6daa7 Shift makefile to hostname. 2014-12-02 11:20:03 -06:00
Luke Sneeringer
c3b962ced5 /api/v1/ping/ was added in 2.1.0 2014-12-02 10:39:54 -06:00
Luke Sneeringer
d6699353e5 Save hostnames, not IP addresses, for HA. 2014-12-02 10:34:25 -06:00
James Laska
4afa7a0d4d Remove AMI vars-aws-keys.json file
When building AMI using packer, the caller is responsible for setting
the required environment variables to make packer and AWS happy.  For
guidance, refer to https://www.packer.io/docs/builders/amazon-ebs.html.
2014-12-02 11:29:49 -05:00
Jared Tabor
c96b317202 Launch job from job template form
added a check that there is a valid survey if survey_enabled === true on the JT form
2014-12-02 10:06:57 -05:00
Jared Tabor
e14630b155 renamed ngmin/ngmax
renamed to awmin/awmax to match custom directive format. the prefix 'ng' is meant to imply an 'angular' specific directive
2014-12-01 22:52:55 -05:00
Jared Tabor
98fa7eae40 Float directive
I changed the float directive last week and now i'm reverting it back. The change i made didn't account for neagative numbers so i'm reverting back
2014-12-01 22:10:34 -05:00
Jared Tabor
a7066443f0 Fixed wording for custom inventory scripts
Fixed the label on the source panel and on the lookup modal
2014-12-01 20:38:59 -05:00
Jared Tabor
f3037a3b06 Improved ngmin/ngmax
the ngmin/ngmax directives were failing out if the user never set the ngmin/ngmax (which could happen). added a check to for empty ngmin's/ngmax's
2014-12-01 16:04:22 -05:00
Matthew Jones
fc5eb09e2a Fix up some rbac issues that were blocking survey taker incidentally and
otherwise preventing normal users with the right permissions from
starting jobs
2014-12-01 14:01:03 -05:00
Jared Tabor
a319def4b4 ngMin/ngMax directives fix for surveys
the ngMin and ngMax directives needed to be re-written to work properly with other directives. They weren't playing nice with other directives' values
2014-12-01 12:39:39 -05:00
Matthew Jones
bab3bfb70a Remove a vestige of the old zeromq implementation where we specified a
callback port as a decorated parameter to the overall test case
2014-12-01 11:35:20 -05:00
Matthew Jones
683e44f30e Check for attributes on the job template before attempting to use that 2014-12-01 10:50:49 -05:00
Matthew Jones
6578c4ed26 Merge branch 'reintroduce-zeromq-unstable'
* reintroduce-zeromq-unstable:
  Fix up some zeromq dependencies per platform
  Fix a bug where a socket would re-emit its message 3 extra times
  Make CALLBACK_CONSUMER_PORT falsy values be dummified.
  Fix ZeroMQ port mismatch.
  ZeroMQ changes.
  Put files in the right place!
  Error message correction.
  Put socket.py in the wrong folder.
  Theoretically working Socket implementation.
  Beginning work on reintroducing ZeroMQ.
2014-12-01 10:24:51 -05:00
Matthew Jones
decd9da058 Merge branch 'master' into reintroduce-zeromq-unstable
* master:
  Fix a bug where listing the unified job fields did not include the 'launch_type' parameter, causing failing unit tests
  Inventory Scripts
  Extra var parsing
  Clean up jobs
  Cleanup jobs redirect to jobs page
  Custom inventory : Edit
  Portal credential modal needed
  Fix a bug in how I'm handling ids when creating a unified job as part of the launch process
  Survey Maker
  JS Hint errors
2014-12-01 10:24:18 -05:00
Matthew Jones
91a1d8f761 Fix a bug where listing the unified job fields did not include the
'launch_type' parameter, causing failing unit tests
2014-12-01 10:23:08 -05:00
Jared Tabor
47ab0fe06e Inventory Scripts
Changed "Inventory Script" to "Inventory Scripts" on account menu
2014-12-01 09:34:53 -05:00
Jared Tabor
15f710331b Extra var parsing
added a check for an empty string
2014-11-30 22:29:33 -05:00
Jared Tabor
0c10581ecd Clean up jobs
Made the prompt for days field required when submitting a cleanup job.
2014-11-30 21:34:26 -05:00
Jared Tabor
a71e787eab Cleanup jobs redirect to jobs page
when the cleanup jobs run they need to redirect to the jobs page
2014-11-26 16:06:43 -05:00
Matthew Jones
bf04a56b68 Fix a bug where a socket would re-emit its message 3 extra times 2014-11-26 15:51:46 -05:00
Jared Tabor
18cb53cd26 Custom inventory : Edit
fixed issue with list of custom inventories not updating correctly when a user saves an inv script they were editing
2014-11-26 15:49:50 -05:00
Jared Tabor
fd443295dd Portal credential modal needed
added the credential div needed to populate the lookup modal for a cred on the portal mode page
2014-11-26 15:22:15 -05:00
Matthew Jones
875cef12e3 Fix a bug in how I'm handling ids when creating a unified job as part of
the launch process
2014-11-26 15:20:39 -05:00
Jared Tabor
cfbec378c3 Survey Maker
on typeChange of survey question, clear out the values of any downstream components
2014-11-26 14:26:07 -05:00
Jared Tabor
71d0f3af80 JS Hint errors
fixed a jshint error from cchurch's change
2014-11-26 14:25:42 -05:00
Matthew Jones
8c4aee35d1 Merge remote-tracking branch 'origin/master' into reintroduce-zeromq-unstable
* origin/master:
  Add tests for inventory_filters and group_by, fix to convert None to empty string.
  Job submission
  Fix up unified job creation parameter passing
  Roll this back, it doesn't do what I expect
  Make sure we propogate source_script into the related fields it needs to be in
  Update job template launch docs with credential_needed_to_start documentation
  Custom Inventory Scripts
  forms/Sources.js
  Add instance filters and group by options for EC2 inventory sources.  Implements https://trello.com/c/QOVhP0mH
  Make sure when we call create_unified_job we can pass important fields as _id or without
  Make sure we pass extra parameters down to the unified job create method so we can pick up credential if given
  Add system job template launch documentation
  Track source_script in summary and related fields for relevant inventory sources
  Host events
  Simplify include_vars based on mpd feedback
  Update the apt-cache when installing python-pip
  Only the primary should syncdb and migrate
  Update package changelogs
  Update release history and process docs
  Update ansible-tower service config in playbook
2014-11-26 13:40:37 -05:00
Chris Church
1e56d3d2fd Add tests for inventory_filters and group_by, fix to convert None to empty string. 2014-11-26 13:34:10 -05:00
Jared Tabor
86c717bca3 Job submission
changed the 'credential' to 'credential_id' on the POST to the job launch endpoint, per request from Matt
2014-11-26 13:19:13 -05:00
Matthew Jones
e1f25a0949 Fix up unified job creation parameter passing 2014-11-26 11:54:49 -05:00
Matthew Jones
f8c6aa6fca Roll this back, it doesn't do what I expect 2014-11-26 11:37:36 -05:00
Matthew Jones
15e6aa29a7 Make sure we propogate source_script into the related fields it needs to
be in
2014-11-26 11:14:26 -05:00
Matthew Jones
fb8c33b973 Update job template launch docs with credential_needed_to_start documentation 2014-11-26 10:17:40 -05:00
Jared Tabor
6f1f065414 Custom Inventory Scripts
Changed the title of the modal to be a plural noun instead of singular ('Script')
2014-11-26 09:45:02 -05:00
Jared Tabor
f36885b255 forms/Sources.js
fixed a couple small errors from church's commit for ec2 tags
2014-11-26 09:37:30 -05:00
Chris Church
35c392ab17 Add instance filters and group by options for EC2 inventory sources. Implements https://trello.com/c/QOVhP0mH 2014-11-26 03:20:45 -05:00
Matthew Jones
9756487edf Make sure when we call create_unified_job we can pass important fields
as _id or without
2014-11-25 16:57:17 -05:00
Matthew Jones
8718688cf8 Make sure we pass extra parameters down to the unified job create method
so we can pick up credential if given
2014-11-25 16:47:53 -05:00
Matthew Jones
08ea3bef25 Add system job template launch documentation 2014-11-25 16:22:48 -05:00
Matthew Jones
7e109cb95d Track source_script in summary and related fields for relevant inventory sources 2014-11-25 15:28:52 -05:00
Jared Tabor
b94e0711c5 Host events
added check in host event call to make sure an empty data set is not returend from the API
2014-11-25 15:11:49 -05:00
Luke Sneeringer
2b33715b66 Make CALLBACK_CONSUMER_PORT falsy values be dummified. 2014-11-25 12:02:19 -06:00
James Laska
36992e47ce Update release history and process docs 2014-11-25 11:53:41 -05:00
Luke Sneeringer
27933df220 Fix ZeroMQ port mismatch. 2014-11-25 10:39:42 -06:00
Luke Sneeringer
f8cbdd65a5 Merge branch 'master' into reintroduce-zeromq-unstable 2014-11-25 09:01:59 -06:00
James Laska
d47d2f5700 Add ansible-tower.{default,sysconfig} script
The 'ansible-tower' service script now comes with an additional file:

    /etc/{default,sysconfig}/ansible-tower

This file is used to specify the services managed by the 'ansible-tower'
service script.  The presence of this file allows admins (or the setup
playbook) to customize the services managed.  For example, when using a
remote postgres server, one would remove 'postgresql' from the list of
tower managed services.
2014-11-25 09:22:02 -05:00
James Laska
9f6e74ac94 Remove tools from .gitignore
Not sure why this was here.  It had to be ignored when commiting changes
to various files under tools.
2014-11-25 09:21:30 -05:00