Skip to content
Snippets Groups Projects
Commit f66639fc authored by matt01671's avatar matt01671
Browse files

added harvester code

parent cee8202f
No related branches found
No related tags found
No related merge requests found
---
harvester_dir: harvester
\ No newline at end of file
---
- name: Install Tweepy
tags: 'harvester'
become: yes
pip:
name: tweepy
- name: Create Harvester directory
tags: 'harvester'
become: yes
file:
path: "{{ harvester_dir }}"
owner: "{{ ansible_user }}"
group: "{{ ansible_user }}"
recurse: yes
state: directory
# TO BE COMPLETED
- name: Copy harvester
tags: 'harvester'
become: yes
template:
src: docker-compose.yaml.j2
dest: "{{ harvester_dir }}/docker-compose.yaml"
owner: "{{ ansible_user }}"
group: "{{ ansible_user }}"
- name: Run harvester
tags: 'harvester'
become: yes
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment