Skip to content

Commit

Permalink
Merge pull request six2dez#521 from Stoo0rmq/patch-3
Browse files Browse the repository at this point in the history
TF - Main Ansible file
  • Loading branch information
six2dez authored May 14, 2022
2 parents edba7ba + fb284b4 commit 8debb7f
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions Terraform/reconFTW.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
- hosts: all
become: true
tasks:
- name: Update and upgrade apt packages
become: true
apt:
upgrade: no
update_cache: yes
cache_valid_time: 86400 #One day
- name: Install GoLang
apt:
name: golang
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
apt:
name: git
state: present
- name: Clone ReconFTW
git:
repo: https://github.com/six2dez/reconftw.git
dest: /opt/reconftw/
clone: yes
update: yes
- name: Install ReconFTW
command: chdir=/opt/reconftw/ ./install.sh
- name: Copy Config File
synchronize:
src: files/config.ini
dest: $HOME/.config/amass/config.ini
- name: Copy reconftw.cfg File
synchronize:
src: files/reconftw.cfg
dest: /opt/reconftw/reconftw.cfg

0 comments on commit 8debb7f

Please sign in to comment.