-
Notifications
You must be signed in to change notification settings - Fork 10
/
action.yml
157 lines (156 loc) · 5.72 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
name: "Play Ansible Playbook"
description: "Github Action for running Ansible Playbooks."
inputs:
galaxy_file:
description: "Name of the galaxy file in your workspace."
required: false
galaxy_force:
description: "Forces the reinstallation of roles or collections from the Galaxy file."
required: false
galaxy_api_key:
description: "Sets the API key used for authenticating to Ansible Galaxy."
required: false
galaxy_api_server_url:
description: "Defines the URL of the Ansible Galaxy API server to interact with."
required: false
galaxy_collections_path:
description: "Sets the path to the directory where Galaxy collections are stored."
required: false
galaxy_disable_gpg_verify:
description: "Disables GPG signature verification for Ansible Galaxy operations."
required: false
galaxy_force_with_deps:
description: "Forces the installation of collections with their dependencies from Galaxy."
required: false
galaxy_ignore_certs:
description: "Ignores SSL certificate validation for Ansible Galaxy requests."
required: false
galaxy_ignore_signature_status_codes:
description: "Lists HTTP status codes to ignore during Galaxy signature validation."
required: false
galaxy_keyring:
description: "Specifies the path to the GPG keyring used with Ansible Galaxy."
required: false
galaxy_offline:
description: "Enables offline mode, preventing any requests to Ansible Galaxy."
required: false
galaxy_pre:
description: "Allows the installation of pre-release versions from Ansible Galaxy."
required: false
galaxy_required_valid_signature_count:
description: "Sets the required number of valid GPG signatures for Galaxy content."
required: false
galaxy_requirements_file:
description: "Defines the path to the Ansible Galaxy requirements file."
required: false
galaxy_signature:
description: "Specifies a specific GPG signature to verify for Galaxy content."
required: false
galaxy_timeout:
description: "Sets the timeout in seconds for Ansible Galaxy operations."
required: false
galaxy_upgrade:
description: "Enables automatic upgrading of Galaxy collections to the latest version."
required: false
galaxy_no_deps:
description: "Disables automatic resolution of dependencies in Ansible Galaxy."
required: false
inventory:
description: "Specifies one or more inventory host files for Ansible to use."
required: true
playbook:
description: "List of playbooks to apply."
required: true
limit:
description: "Limits the playbook execution to a specific group of hosts."
required: false
skip_tags:
description: "Only run plays and tasks whose tags do not match these values."
required: false
start_at_task:
description: "Start the playbook at the task matching this name."
required: false
tags:
description: "Executes only tasks and plays with specified tags."
required: false
extra_vars:
description: "Sets additional variables in a key=value format for the playbook."
required: false
module_path:
description: "Prepends specified paths to the module library path list."
required: false
check:
description: "Executes a dry run, showing what changes would be made without making them."
required: false
diff:
description: "Shows the differences in files and templates when changing them."
required: false
flush_cache:
description: "Clears the fact cache for every host in the inventory."
required: false
force_handlers:
description: "Runs all handlers even if a task fails."
required: false
list_hosts:
description: "Outputs a list of matching hosts."
required: false
list_tags:
description: "List all available tags."
required: false
list_tasks:
description: "List all tasks that would be executed."
required: false
syntax_check:
description: "Performs a syntax check on the playbook, without executing it."
required: false
forks:
description: "Defines the number of parallel processes to use during playbook execution."
required: false
vault_id:
description: "Specifies the identity to use when accessing an Ansible Vault."
required: false
vault_password:
description: "Sets the password to use for decrypting an Ansible Vault."
required: false
verbose:
description: "Sets the verbosity level, ranging from 0 (minimal output) to 4 (maximum verbosity)."
required: false
private_key:
description: "Specifies the SSH private key file for connections."
required: false
user:
description: "Defines the username for making connections."
required: false
connection:
description: "Sets the type of connection to use (e.g., SSH)."
required: false
timeout:
description: "Overrides the default connection timeout in seconds."
required: false
ssh_common_args:
description: "Specifies common arguments to pass to all SSH-based connection methods (SSH, SCP, SFTP)."
required: false
sftp_extra_args:
description: "Provides extra arguments to pass only to SFTP."
required: false
scp_extra_args:
description: "Provides extra arguments to pass only to SCP."
required: false
ssh_extra_args:
description: "Provides extra arguments to pass only to SSH."
required: false
become:
description: "Enables privilege escalation, allowing operations to run as another user."
required: false
become_method:
description: "Specifies the method to use for privilege escalation (e.g., sudo)."
required: false
become_user:
description: "Sets the user to impersonate when using privilege escalation."
required: false
runs:
using: "docker"
image: "Dockerfile"
branding:
icon: "play-circle"
color: "black"