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

Variable to config controller download/offline directory #18

Conversation

guidograzioli
Copy link
Member

@guidograzioli guidograzioli commented Aug 29, 2022

New variable activemq_local_archive_repository configures a directory accessible from controller to use for downloading/installing provided install archives. Default is ansible-playbook command $PWD (as previously set) so no change is necessary if the config is not used.

Variable Description Default
activemq_offline_install Perform an offline installation False
activemq_local_archive_repository Path local to controller for offline/download of install archives {{ lookup('env', 'PWD') }}

@guidograzioli guidograzioli added the minor_changes New parameters added to modules, or non-breaking behavior changes to existing parameters; no bugfix label Aug 29, 2022
@@ -56,7 +56,7 @@
## download to controller
- name: Check local download archive path
ansible.builtin.stat:
path: "{{ lookup('env', 'PWD') }}"
path: "{{ activemq_local_archive_repository }}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@guidograzioli yet another opportunity to remove stat: and use the jinja filter!

@guidograzioli guidograzioli merged commit ffff3b1 into ansible-middleware:main Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor_changes New parameters added to modules, or non-breaking behavior changes to existing parameters; no bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants