-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update playbooks #5
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
- name: Install poetry | ||
ansible.builtin.pip: | ||
name: poetry | ||
|
||
- name: Add commons | ||
import_tasks: commons.yml | ||
|
||
- name: Clone automatic_exploit_generation from GitHub | ||
ansible.builtin.git: | ||
repo: https://github.com/CyberReasoningSystem/automatic_exploit_generation.git | ||
dest: /home/{{ username }}/automatic_exploit_generation | ||
recursive: True | ||
|
||
- name: Install automatic_exploit_generation deps | ||
ansible.builtin.shell: PATH=/home/{{ username }}/.local/bin:$PATH poetry install --no-dev | ||
args: | ||
chdir: /home/{{ username }}/automatic_exploit_generation/ | ||
|
||
- name: Build automatic_exploit_generation docker container | ||
ansible.builtin.shell: docker build --tag zeratool_lib -f docker/Dockerfile.zeratool_lib . | ||
args: | ||
chdir: /home/{{ username }}/automatic_exploit_generation/ | ||
executable: /bin/bash | ||
become: yes | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Make sure the file is newline-ended. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
- name: Install Pandas | ||
ansible.builtin.pip: | ||
name: pandas | ||
|
||
- name: Clone awesome-binary-analysis from GitHub | ||
ansible.builtin.git: | ||
repo: https://github.com/CyberReasoningSystem/awesome-binary-analysis.git | ||
dest: /home/{{ username }}/awesome-binary-analysis | ||
recursive: True | ||
|
||
|
||
|
||
Comment on lines
+10
to
+12
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove excess white lines. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,4 +18,5 @@ | |
ansible.builtin.shell: docker build --tag ubuntu_32bit_compilator others/ubuntu_32bit_compilator | ||
args: | ||
chdir: /home/{{ username }}/dataset/ | ||
|
||
executable: /bin/bash | ||
become: yes | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Make sure the file is newline-ended. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
|
||
- name: Clone nist_c_test_suite from GitHub | ||
ansible.builtin.git: | ||
repo: https://github.com/CyberReasoningSystem/nist_c_test_suite.git | ||
dest: /home/{{ username }}/nist_c_test_suite | ||
recursive: True | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
- name: Clone opencrs_dataset from GitHub | ||
ansible.builtin.git: | ||
repo: https://github.com/CyberReasoningSystem/opencrs_dataset.git | ||
dest: /home/{{ username }}/opencrs_dataset | ||
recursive: True |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
- name: Install poetry | ||
ansible.builtin.pip: | ||
name: poetry | ||
|
||
- name: Add commons | ||
import_tasks: commons.yml | ||
|
||
- name: Clone signature_generation from GitHub | ||
ansible.builtin.git: | ||
repo: https://github.com/CyberReasoningSystem/signature_generation.git | ||
dest: /home/{{ username }}/signature_generation | ||
force: yes | ||
recursive: True |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
- name: Install poetry | ||
ansible.builtin.pip: | ||
name: poetry | ||
|
||
- name: Add commons | ||
import_tasks: commons.yml | ||
|
||
- name: Clone vulnerability_analytics from GitHub | ||
ansible.builtin.git: | ||
repo: https://github.com/CyberReasoningSystem/vulnerability_analytics.git | ||
dest: /home/{{ username }}/vulnerability_analytics | ||
recursive: True | ||
|
||
- name: Install vulnerability_analytics deps | ||
ansible.builtin.shell: PATH=/home/{{ username }}/.local/bin:$PATH poetry install --no-dev | ||
args: | ||
chdir: /home/{{ username }}/vulnerability_analytics/ | ||
|
||
# - name: Build vulnerability_analytics docker container | ||
# ansible.builtin.shell: docker build . -t vulnerability_analytics:1.0.0-alpha -f ./docker/Dockerfile | ||
# args: | ||
# chdir: /home/{{ username }}/vulnerability_analytics/ | ||
# executable: /bin/bash | ||
# become: yes | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Make sure the file is newline-ended. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,9 @@ | |
ansible.builtin.pip: | ||
name: poetry | ||
|
||
- name: Add commons | ||
import_tasks: commons.yml | ||
|
||
- name: Clone vulnerability_detection from GitHub | ||
ansible.builtin.git: | ||
repo: https://github.com/CyberReasoningSystem/vulnerability_detection.git | ||
|
@@ -14,6 +17,13 @@ | |
chdir: /home/{{ username }}/vulnerability_detection/ | ||
|
||
- name: Build vulnerability_detection docker container | ||
<<<<<<< HEAD | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is an unsolved conflict. Take care of it. |
||
ansible.builtin.shell: | ||
cmd: docker build --build-arg USER_ID=$(id -u {{ username }}) --build-arg GROUP_ID=$(id -g {{ username }}) --tag aflplusplus others/aflplusplus_docker | ||
======= | ||
ansible.builtin.shell: docker build --build-arg USER_ID=1000 --build-arg GROUP_ID=999 --tag aflplusplus -f docker/Dockerfile.aflplusplus . | ||
args: | ||
>>>>>>> 1d69419 (Update playbooks) | ||
chdir: /home/{{ username }}/vulnerability_detection/ | ||
executable: /bin/bash | ||
become: yes |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
- name: Install poetry | ||
ansible.builtin.pip: | ||
name: poetry | ||
|
||
- name: Clone wiki from GitHub | ||
ansible.builtin.git: | ||
repo: https://github.com/CyberReasoningSystem/wiki.git | ||
dest: /home/{{ username }}/wiki | ||
recursive: True | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
- name: Add commons | ||
import_tasks: commons.yml | ||
|
||
- name: Install poetry | ||
ansible.builtin.pip: | ||
name: poetry | ||
|
||
- name: Clone zeratool_lib from GitHub | ||
ansible.builtin.git: | ||
repo: https://github.com/CyberReasoningSystem/zeratool_lib.git | ||
dest: /home/{{ username }}/zeratool_lib | ||
recursive: True | ||
|
||
- name: Install zeratool_lib deps | ||
ansible.builtin.shell: PATH=/home/{{ username }}/.local/bin:$PATH poetry install --no-dev | ||
args: | ||
chdir: /home/{{ username }}/zeratool_lib/ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an unsolved conflict. Take care of it.