Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eci-platform
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Todor Kondic
eci-platform
Commits
90955c7b
Unverified
Commit
90955c7b
authored
2 years ago
by
Todor Kondic
Browse files
Options
Downloads
Patches
Plain Diff
pb_extras_fetcher: New role. Monitors Pubchem Extras files
parent
70ff36eb
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
hosts.txt
+1
-1
1 addition, 1 deletion
hosts.txt
pbook.yml
+1
-0
1 addition, 0 deletions
pbook.yml
roles/pb_extras_fetcher/handlers/main.yml
+0
-0
0 additions, 0 deletions
roles/pb_extras_fetcher/handlers/main.yml
roles/pb_extras_fetcher/tasks/main.yml
+44
-0
44 additions, 0 deletions
roles/pb_extras_fetcher/tasks/main.yml
with
46 additions
and
1 deletion
hosts.txt
+
1
−
1
View file @
90955c7b
[stations]
pf0320 ansible_host=10.184.166.26
pf0323 ansible_host=10.184.167.12
#
pf0323 ansible_host=10.184.167.12
#pf0320 ansible_host=10.184.166.17
#pf0322 ansible_host=10.184.166.19
[all:vars]
...
...
This diff is collapsed.
Click to expand it.
pbook.yml
+
1
−
0
View file @
90955c7b
...
...
@@ -5,3 +5,4 @@
-
base
-
ftpserver
-
shinyproxy
-
pb_extras_fetcher
This diff is collapsed.
Click to expand it.
roles/pb_extras_fetcher/handlers/main.yml
0 → 100644
+
0
−
0
View file @
90955c7b
This diff is collapsed.
Click to expand it.
roles/pb_extras_fetcher/tasks/main.yml
0 → 100644
+
44
−
0
View file @
90955c7b
-
name
:
Create /eci-users/proxer/pb_extras_fetcher ..
ansible.builtin.file
:
path
:
/eci-users/proxer/pb_extras_fetcher
state
:
directory
owner
:
proxer
group
:
eci
-
name
:
Create /eci-users/proxer/pubchem_extras .
ansible.builtin.file
:
path
:
/eci-users/proxer/pubchem_extras
state
:
directory
owner
:
proxer
group
:
eci
-
name
:
Clone pb_extras_fetcher.
become_user
:
proxer
ansible.builtin.git
:
dest
:
/eci-users/proxer/pb_extras_fetcher
repo
:
https://gitlab.lcsb.uni.lu/eci/pb_extras_fetcher.git
-
name
:
Copy service files.
ansible.builtin.copy
:
remote_src
:
yes
src
:
"
/eci-users/proxer/pb_extras_fetcher{{
item
}}"
dest
:
"
{{
item
}}"
loop
:
-
/etc/systemd/system/pb_extras_fetcher.service
-
/etc/systemd/system/pb_extras_fetcher.timer
# - name: Restart and enable pb_extras_fetcher.
# ansible.builtin.systemd:
# name: pb_extras_fetcher.service
# state: started
# daemon-reload: yes
# enabled: yes
# - name: Start the timer.
# ansible.builtin.systemd:
# name: pb_extras_fetcher.timer
# daemon-reload: yes
# enabled: 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