Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deployment: Using tags to limit what is deployed does not work #140

Open
csomh opened this issue Dec 4, 2020 · 0 comments
Open

deployment: Using tags to limit what is deployed does not work #140

csomh opened this issue Dec 4, 2020 · 0 comments

Comments

@csomh
Copy link
Contributor

csomh commented Dec 4, 2020

In theory specifying some tags when running a deployment for the update service, should limit the tasks which are run. For example:

$ DEPLOYMENT=local TAGS="worker,pushgateway" make deploy

should only run the tasks from the deploy role which are tagged with always or worker or pushgateway.

But instead no task is run.

Adding the always tag to the role in deployment/deploy.yml will make all tasks to be executed (no filtering happens).

Tried the above with:

ansible-playbook 2.9.14
  config file = /home/hcsomort/.ansible.cfg
  configured module search path = ['/home/hcsomort/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.8/site-packages/ansible
  executable location = /usr/bin/ansible-playbook
  python version = 3.8.6 (default, Sep 25 2020, 00:00:00) [GCC 10.2.1 20200723 (Red Hat 10.2.1-1)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant