Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
comp90023-assignment-2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Matthew O'Halloran
comp90023-assignment-2
Commits
f66639fc
Commit
f66639fc
authored
Apr 29, 2020
by
matt01671
Browse files
Options
Downloads
Patches
Plain Diff
added harvester code
parent
cee8202f
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
ansible/roles/harvester-build/defaults/main.yaml
+2
-0
2 additions, 0 deletions
ansible/roles/harvester-build/defaults/main.yaml
ansible/roles/harvester-build/tasks/main.yaml
+30
-0
30 additions, 0 deletions
ansible/roles/harvester-build/tasks/main.yaml
with
32 additions
and
0 deletions
ansible/roles/harvester-build/defaults/main.yaml
0 → 100644
+
2
−
0
View file @
f66639fc
---
harvester_dir
:
harvester
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ansible/roles/harvester-build/tasks/main.yaml
0 → 100755
+
30
−
0
View file @
f66639fc
---
-
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment