Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Carlos Ramos Carreño
slapos.package
Commits
bb99c77d
Commit
bb99c77d
authored
Sep 29, 2022
by
Ophélie Gagnard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: Add packages to scan in Ridge.
parent
75cce947
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
playbook/roles/ridge/tasks/main.yml
playbook/roles/ridge/tasks/main.yml
+3
-0
playbook/roles/ridge/vars/main.yml
playbook/roles/ridge/vars/main.yml
+1
-1
No files found.
playbook/roles/ridge/tasks/main.yml
View file @
bb99c77d
-
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"
...
...
playbook/roles/ridge/vars/main.yml
View file @
bb99c77d
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment