@@ -31,6 +31,8 @@ Jenkins jobs.
31
31
32
32
3 . Repeat for any additional desired installations
33
33
34
+ There is no automatic ansible installation possible using Global Tools.
35
+
34
36
### OS User PATH
35
37
36
38
Ansible can also be added to the PATH user used by the Jenkins executor
@@ -40,6 +42,18 @@ guide.
40
42
41
43
------------------------------------------------------------------------
42
44
45
+ ## Supported versions
46
+
47
+ The plugin is tested against supported ansible-core versions (https://endoflife.date/ansible-core ). It might work with older versions, but this is not guaranteed.
48
+
49
+ See ` PipelineTest.java `
50
+
51
+ ``` java
52
+ private static Stream<String > ansibleVersions() {
53
+ return Stream . of(" 2.14.13" , " 2.15.8" , " 2.16.2" );
54
+ }
55
+ ```
56
+
43
57
## Adhoc
44
58
45
59
[ Adhoc commands] ( http://docs.ansible.com/ansible/latest/intro_adhoc.html ) allow
@@ -289,122 +303,9 @@ a "Secret text" or a "Secret file".
289
303
290
304
------------------------------------------------------------------------
291
305
292
- ## Open Issues
293
-
294
- [ View issues in Jira] ( https://issues.jenkins.io/secure/IssueNavigator.jspa?reset=true&jqlQuery=component%20=%20ansible-plugin%20AND%20status%20in%20%28Open,%20%22In%20Progress%22,%20Reopened%29&tempMax=1000&src=confmacro )
295
-
296
- ------------------------------------------------------------------------
297
-
298
306
## Changelog
299
307
300
- #### Version 1.0 (26 March 2018)
301
-
302
- * [ Fix security issue] ( https://jenkins.io/security/advisory/2018-03-26/#SECURITY-630 ) :
303
- Do not disable host key verification by default. ** This may
304
- break existing configurations as host key verification will
305
- be enabled everywhere by default.**
306
-
307
- #### Version 0.8.0 (16 Jan 2018)
308
-
309
- * Add support for Ansible Vault
310
- [ JENKINS-48499] ( https://issues.jenkins.io/browse/JENKINS-48499 )
311
- * Add hostKeyChecking option to pipeline [ JENKINS-42445] ( https://issues.jenkins.io/browse/JENKINS-42445 )
312
-
313
- #### Version 0.6.2 (3 Jan 2017)
314
-
315
- * Fix blocker bug when launched from a pipeline
316
- [ JENKINS-40780] ( https://issues.jenkins.io/browse/JENKINS-40780 )
317
-
318
- #### Version 0.6.1 (1 Jan 2017)
319
-
320
- * Use latest parent project definition in order to deploy
321
- plugin (thanks
322
- to [ alecharp] ( https://github.com/alecharp ) for the help and
323
- the PR)
324
-
325
- #### Version 0.6 (31 Dec 2016)
326
-
327
- ** WARN: 0.6.x version will be the last one to support Jenkins 1.xxx and
328
- Ansible 1.x - The 0.7.x and next releases will require Jenkins 2.32.1
329
- (or higher) and Ansible 2.2 (or higher)**
330
-
331
- * Add a "do not specify" option for
332
- inventory [ JENKINS-34627] ( https://issues.jenkins.io/browse/JENKINS-34627 )
333
- * Support inventoryContent in pipeline (thanks
334
- to [ leewin12] ( https://github.com/leewin12 ) for the PR)
335
- * Add support of extra variables in jobdsl (thanks
336
- to [ pawbur] ( https://github.com/pawbur ) for the PR)
337
- * Support empty forks (number of parallel processes)
338
- parameter [ JENKINS-39438] ( https://issues.jenkins.io/browse/JENKINS-39438 )
339
- * Escape '%' character in private key path (thanks
340
- to [ ewollesen] ( https://github.com/ewollesen ) for the PR)
341
- * Omit ansible option when expanded environment variable is
342
- empty (thanks to [ vjestin] ( https://github.com/vjestin ) for
343
- the PR)
344
- * Add the --forks parameter configurable in pipeline step
345
- (thanks to
346
- [ anguswilliams] ( https://github.com/anguswilliams ) for the
347
- PR)
348
- * Fix usage of environment variable in ansiblePlaybook
349
- pipeline step (thanks to
350
- [ thomasKalmar] ( https://github.com/thomasKalmar )
351
- and [ barthorre] ( https://github.com/barthorre ) for the
352
- PR) [ JENKINS-38289] ( https://issues.jenkins.io/browse/JENKINS-38289 )
353
-
354
- #### Version 0.5 (5 May 2016)
355
-
356
- * Add support for ansible extra variables
357
- [ JENKINS-29863] ( https://issues.jenkins.io/browse/JENKINS-29863 )
358
- * Improve Pipeline plugin
359
- integration [ JENKINS-32911] ( https://issues.jenkins.io/browse/JENKINS-32911 )
360
- * Add the possibility to use the default inventory file
361
- (thanks to Johann Schmitz for the PR)
362
- * Add colorized output in pipeline jobs (thanks to
363
- Kirill Merkushev for the PR)
364
- * Make Jenkins build variables available as environment
365
- variables for ansible (thanks to Kevin Mooney for the
366
- PR) [ JENKINS-29284] ( https://issues.jenkins.io/browse/JENKINS-29284 )
367
-
368
- #### Version 0.4 (25 December 2015)
369
-
370
- * Support for password protected SSH
371
- keys [ JENKINS-30656] ( https://issues.jenkins.io/browse/JENKINS-30656 )
372
- * Initial support for the workflow
373
- plugin [ JENKINS-30398] ( https://issues.jenkins.io/browse/JENKINS-30398 )
374
- * Add support for Job DSL plugin (thanks to Kirill Merkushev
375
- for the
376
- PR) [ JENKINS-31790] ( https://issues.jenkins.io/browse/JENKINS-31790 )
377
-
378
- #### Version 0.3.1 (15 July 2015)
379
-
380
- * Fix execution on slave
381
- nodes [ JENKINS-29294] ( https://issues.jenkins.io/browse/JENKINS-29294 )
382
-
383
- #### Version 0.3 (20 June 2015)
384
-
385
- * Add support for password based SSH authentication (with
386
- sshpass)
387
- * Environment variables can be used in Module and Module
388
- arguments text field in Ad-hoc command builder
389
- * Environment variables can be used in inline inventory text
390
- box
391
- [ JENKINS-28547] ( https://issues.jenkins.io/browse/JENKINS-28547 )
392
-
393
- #### Version 0.2 (11 May 2015)
394
-
395
- * Fix NullPointerException when no credentials are selected
396
- * Fix --skippedTags parameter configuration which was ignored
397
- * Fix NullPointerException and print an error message in the
398
- build console when the inventory is not set in the job
399
- configuration
400
-
401
- #### Version 0.1 (01 May 2015)
402
-
403
- * Initial version
404
-
405
- This plugin gives the possibility to run [ Ansible] ( http://www.ansible.com/ ) ad-hoc command or playbooks as a build step.
406
-
407
- [ ![ Build Status] ( https://ci.jenkins.io/buildStatus/icon?job=Plugins/ansible-plugin/master )] ( https://ci.jenkins.io/job/Plugins/job/ansible-plugin/job/master/ )
308
+ Changelog is now published on GitHub release.
408
309
409
310
## Using Jenkins Build and Environment Variables
410
311
0 commit comments