Commit bb99c77d authored by Ophélie Gagnard's avatar Ophélie Gagnard

playbook: Add packages to scan in Ridge.

parent 75cce947
Pipeline #23823 failed with stage
in 0 seconds
- name: Install packages to scan
shell: apt -y install {{ packages_to_scan }}
- name: Create configuration from template
shell: "sed '{{conf_regex}}' {{mca_path}}/etc/flb.conf.in > {{mca_path}}/etc/flb.conf"
......
......@@ -6,9 +6,9 @@ flb_path: /opt/{{fluentbit_name}}
## WENDELIN CONFIGURATION
wendelin_url: "{{ lookup('env', 'ANSIBLE_wendelin_url') }}"
# the deployment is still a WIP but a solution has to be found not to display the password of the production Wendelin instance
wendelin_pwd: "{{ lookup('env', 'ANSIBLE_wendelin_pwd') }}"
wendelin_reference: "{{ lookup('env', 'ANSIBLE_wendelin_reference') }}"
packages_to_scan: "{{ lookup('env', 'ANSIBLE_packages_to_scan') }}"
## OTHER
conf_regex: s|%WENDELIN_URL%|{{wendelin_url}}|g;s|%WENDELIN_PWD%|{{wendelin_pwd}}|g;s|%WENDELIN_REFERENCE%|{{wendelin_reference}}|g
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment