🔨 Add tags
This commit is contained in:
parent
9496262941
commit
c85bcb9d44
@ -24,7 +24,9 @@ steps:
|
||||
- name: Run ansible playbook
|
||||
image: harbor.sebclem.fr/sebclem/drone-ansible-runner
|
||||
settings:
|
||||
verbosity: 1
|
||||
verbosity: ${verbosity=1}
|
||||
limit: ${limit}
|
||||
tags: ${tags}
|
||||
playbook: sites.yml
|
||||
galaxy_file: roles/requirements.yml
|
||||
check_syntax: true
|
||||
|
@ -59,5 +59,9 @@ if [[ -n "$PLUGIN_LIMIT" ]]; then
|
||||
args="${args} --limit \"$PLUGIN_LIMIT\""
|
||||
fi
|
||||
|
||||
if [[ -n "$PLUGIN_TAGS" ]]; then
|
||||
args="${args} --tags \"$PLUGIN_TAGS\""
|
||||
fi
|
||||
|
||||
run_command "export ANSIBLE_HOST_KEY_CHECKING=False"
|
||||
run_command "ansible-playbook $args"
|
Reference in New Issue
Block a user