Closed tculp closed 6 years ago
FWIW, I solved this one-off by removing both the underscore and the reference to __bash_path.
@PaulOstazeski
You mean like this?
- name: Generate SSL certs
command: "{{ sensu_config_path }}/ssl_generation/sensu_ssl_tool/ssl_certs.sh generate"
args:
chdir: "{{ sensu_config_path }}/ssl_generation/sensu_ssl_tool"
creates: "{{ sensu_config_path }}/ssl_generation/sensu_ssl_tool/server"
I believe the original intention of the __bash_path was to allow the user to specify usage of an alternate bash binary
Sorry, I should have just pasted this
- name: Generate SSL certs
command: "{{ sensu_config_path }}/ssl_generation/sensu_ssl_tool/ssl_certs.sh generate"
args:
chdir: "{{ sensu_config_path }}/ssl_generation/sensu_ssl_tool"
creates: "{{ sensu_config_path }}/ssl_generation/sensu_ssl_tool/server"
But you're right, that would remove the capability to use a different bash.
… no longer supported in ansible 2.4
Solves issue #101