mirror of
https://github.com/mmumshad/ansible-playable.git
synced 2025-02-14 22:11:52 +00:00
Set default inventory file name
This commit is contained in:
parent
4d5eb24980
commit
74ac1828a4
2 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@ const angular = require('angular');
|
|||
|
||||
/*@ngInject*/
|
||||
export function newInventoryController($scope,$uibModalInstance,ansible,selectedProject) {
|
||||
$scope.newInventory = {name:null};
|
||||
$scope.newInventory = {name:'inventory'};
|
||||
|
||||
$scope.createInventoryLoading = false;
|
||||
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
<div class="modal-body">
|
||||
|
||||
<p class="form-group">
|
||||
<label>Inventory Name</label>
|
||||
<input type="text" ng-model="newInventory.name" class="form-control">
|
||||
<label>Inventory File Name</label>
|
||||
<input placeholder="inventory" type="text" ng-model="newInventory.name" class="form-control">
|
||||
</p>
|
||||
|
||||
<div class="alert alert-info"> Inventory files should be named without an extension </div>
|
||||
<div class="alert alert-info"> Inventory files are usually named without any extension eg: inventory </div>
|
||||
|
||||
</div>
|
||||
<div class="alert alert-danger" ng-if="err_msg">{{err_msg}}</div>
|
||||
|
|
Loading…
Reference in a new issue