Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
b8c44c9d
Commit
b8c44c9d
authored
Jan 29, 2014
by
e0d
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
recovered code, working.
parent
27de59bf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
playbooks/roles/automated/tasks/main.yml
+6
-0
playbooks/roles/edxapp/meta/main.yml
+1
-1
playbooks/roles/edxapp/templates/etc/sudoers.d/99-automator-edxapp-server.j2
+2
-2
No files found.
playbooks/roles/automated/tasks/main.yml
View file @
b8c44c9d
...
...
@@ -130,6 +130,12 @@
path={{ automated_home }}/.ssh state=directory mode=0700
owner={{ automated_user }} group={{ automated_user }}
-
name
:
touch .ssh/authorized_keys
file
:
dest={{ automated_home }}/.ssh/authorized_keys mode=0600
owner={{ automated_user }} group={{ automated_user }}
state=touch
-
name
:
add authorized_keys
lineinfile
:
line="{{ item }}" state=present
...
...
playbooks/roles/edxapp/meta/main.yml
View file @
b8c44c9d
...
...
@@ -9,4 +9,4 @@ dependencies:
-
role
:
automated
automated_rbash_links
:
"
{{
edxapp_automated_rbash_links
}}"
automated_sudoers_dest
:
'
99-automator-edxapp'
automated_sudoers_template
:
'
roles/edxapp/templates/etc/sudoers.d/99-automator-edxapp.j2'
automated_sudoers_template
:
'
roles/edxapp/templates/etc/sudoers.d/99-automator-edxapp
-server
.j2'
playbooks/roles/edxapp/templates/etc/sudoers.d/99-automator-edxapp-server.j2
View file @
b8c44c9d
automator ALL=({{ common_web_user }}) NOPASSWD:SETENV:{{ edxapp_venv_dir }}/bin/django-admin.py migrate *
automator ALL=({{ common_web_user }}) NOPASSWD:SETENV:{{ edxapp_venv_dir }}/bin/django-admin.py seed_permissions_roles *
automator ALL=({{ common_web_user }}) NOPASSWD:SETENV:{{ edxapp_venv_dir }}/bin/django-admin.py set_staff *
automator ALL=({{ common_web_user }}) NOPASSWD:SETENV:{{ edxapp_venv_dir }}/bin/django-admin.py transfer_students *
\ No newline at end of file
automator ALL=({{ common_web_user }}) NOPASSWD:SETENV:{{ edxapp_venv_dir }}/bin/django-admin.py transfer_students *
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