🔨 Add tags
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone Build is passing

This commit is contained in:
SebClem 2022-02-28 11:27:38 +01:00
parent 9496262941
commit c85bcb9d44
No known key found for this signature in database
GPG Key ID: 3D8E353F900B1305
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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"