Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
Former Member
4 years agoonepassword.connect.generic_item task is not being executed when executing playbook with tags
I have a MySQL Ansible role with 2 tags: configure_mysql_users and configure_mysql_databases . Those tags are used for subsequent deployments of databases and users.
Here is a sample playbook f...
Former Member
4 years agoHey @David_ag thanks for the reply!
At first, I was not sure how you managed to make it work with added always
tag, especially since I tried the same thing, and it didn't work. Then I realized that I was adding tags in a wrong place. Instead of :
pre_tasks:
- name: setup items
tags: [ 'always' ]
onepassword.connect.generic_item:
I was doing this:
pre_tasks:
- onepassword.connect.generic_item:
tags: [ 'always' ]
But yeah, it works now 🎉