Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE3
/
ansible
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
14cf0607
authored
Nov 30, 2025
by
Szeberényi Imre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
incron fix
parent
709cdd1b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
2 deletions
+22
-2
roles/agentdriver/tasks/main.yml
+19
-0
roles/agentdriver/vars/main.yml
+3
-2
No files found.
roles/agentdriver/tasks/main.yml
View file @
14cf0607
...
...
@@ -35,6 +35,16 @@
virtualenv
:
"
{{
agentdriver_venv_dir
}}"
virtualenv_python
:
python3.9
-
name
:
Ensure pip, setuptools and wheel are up-to-date
ansible.builtin.pip
:
name
:
-
pip
-
setuptools
-
wheel
state
:
latest
virtualenv
:
"
{{
agentdriver_venv_dir
}}"
virtualenv_python
:
python3.9
-
name
:
Install pip requirements into venv
pip
:
requirements
:
"
{{
agentdriver_repo_dir
}}/requirements/install_first.txt"
...
...
@@ -66,6 +76,15 @@
become_user
:
"
{{
agentdriver_app_user
}}"
tags
:
[
'
deps'
]
-
name
:
copy incron
ansible.builtin.copy
:
src
:
"
{{
agentdriver_repo_dir
}}/miscellaneous/agentdriver.incron"
dest
:
/etc/incron.d/agentdriver
owner
:
root
group
:
root
mode
:
"
0644"
become
:
yes
-
name
:
copy service
ansible.builtin.copy
:
src
:
"
{{
agentdriver_repo_dir
}}/miscellaneous/agentdriver.service"
...
...
roles/agentdriver/vars/main.yml
View file @
14cf0607
# Default variables for the agentdriver role
agentdriver_app_user
:
"
cloud"
agentdriver_git_update
:
true
agentdriver_repo_name
:
"
https://git.ik.bme.hu/circle3/agentdriver.git"
agentdriver_repo_revision
:
"
python3.6
"
agentdriver_repo_revision
:
"
master
"
agentdriver_base_dir
:
"
/home/{{
agentdriver_app_user
}}/agentdriver"
agentdriver_repo_dir
:
"
/home/{{
agentdriver_app_user
}}/agentdriver"
agentdriver_venv_dir
:
"
/home/{{
agentdriver_app_user
}}/.virtualenvs/agentdriver"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment