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

TF - Env vars problems fixed. #524

Merged
merged 2 commits into from
May 15, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions Terraform/reconFTW.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
- hosts: all
become: true
tasks:
Expand All @@ -7,10 +8,15 @@
upgrade: no
update_cache: yes
cache_valid_time: 86400 #One day

- name: Install GoLang
apt:
name: golang
state: present
- name: Install rsync
apt:
name: rsync
state: present
- name: Add Go into the PATH variable
shell: echo "export PATH=$PATH:/usr/local/go/bin" > /etc/profile.d/go.sh
- name: Install Git
Expand All @@ -24,12 +30,14 @@
clone: yes
update: yes
- name: Install ReconFTW
command: chdir=/opt/reconftw/ ./install.sh
command: chdir=/opt/reconftw/ ./install.sh
- name: Create amass folder
shell: mkdir -p /home/admin/.config/amass/
- name: Copy Config File
synchronize:
src: files/config.ini
dest: $HOME/.config/amass/config.ini
dest: /home/admin/.config/amass/config.ini
- name: Copy reconftw.cfg File
synchronize:
src: files/reconftw.cfg
dest: /opt/reconftw/reconftw.cfg
dest: /opt/reconftw/reconftw.cfg