ci: Always skip tasks tagged "install"

Software should never be installed or updated by the continuous
enforcement jobs.  This can cause unexpected outages or other problems
if applications or libraries unexpectedly.  Everything should already be
installed and in production before continuous enforcement begins, so
skipping install steps should not matter.

Most tasks that install software are tagged with the `install` tag.
When Jenkins runs `ansible-playbook` to apply configuration policy, it
will now skip any task that includes this tag.
jenkins-master
Dustin 2020-07-24 11:56:49 -05:00
parent 0f73b09e09
commit 6ebe9b9a20
1 changed files with 2 additions and 1 deletions

View File

@ -72,7 +72,8 @@ def generateStages(stages) {
playbook: playbook, playbook: playbook,
become: true, become: true,
vaultCredentialsId: 'ansible-vault', vaultCredentialsId: 'ansible-vault',
extras: '--diff' extras: '--diff',
skippedTags: 'install'
} }
} }
} }