Replies: 1 comment
-
Hello! You can use extra-vars to redefine variables. Example: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @vitabaks,
We are currently trying to use your playbooks from our own ansible internal project.
It seems your project is not designed in this way, you recommend to use it from a clone directly.
You can see below how we managed to use it, but it is not really user firendly ...
You can see variables can't be overrided while importing a playbook, the only way is to define facts.
Do you have some advises or recommendations to provide to use your playbooks inside our own project ?
We are able to run the playbook with the following command (we can choose the playbook to run by changing the target (ex:
config_pgcluster
)):ansible-playbook -i inventories/poc/hosts.yml playbooks/postgresql_cluster/main.yml -e target='config_pgcluster'
Thanks 🙏
Beta Was this translation helpful? Give feedback.
All reactions