-
Notifications
You must be signed in to change notification settings - Fork 3
/
action.yml
48 lines (45 loc) · 1.26 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# action.yml
name: 'Deploy with Tower Ansible'
description: 'Deploy application thanks Tower Ansible'
branding :
icon : 'zap'
color : 'red'
inputs:
extravars_template_filename:
description: "Fichier yaml templaté contenant les extra_vars"
required: true
default: 'tower_extra_vars_template.yml'
vars:
description: "Liste des variables (json) qui seront utilisées dans le template"
required: true
asset_url:
description: "Url de l'asset à déployer"
required: true
tower_template_id:
description: "Identifiant du template Tower"
required: true
tower_url:
description: "Url de Tower"
required: true
tower_user:
description: "Identifiant utilisé pour le déploiement"
required: true
tower_password:
description: "Mot de passe utilisé pour le déploiement"
required: true
tower_timeout:
description: "Délai avant coupure de la connexion"
required: true
default: "300"
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.extravars_template_filename }}
- ${{ inputs.vars }}
- ${{ inputs.asset_url }}
- ${{ inputs.tower_template_id }}
- ${{ inputs.tower_url }}
- ${{ inputs.tower_user }}
- ${{ inputs.tower_password }}
- ${{ inputs.tower_timeout }}