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
b876461c
Commit
b876461c
authored
Dec 09, 2016
by
John Eskew
Committed by
Feanil Patel
Dec 14, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes to previous syntax fixes - regex and quoting.
parent
07a01f93
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
playbooks/edx-east/set_hostname.yml
+1
-1
playbooks/roles/ansible-role-django-ida/templates/tasks/main.yml.j2
+7
-7
No files found.
playbooks/edx-east/set_hostname.yml
View file @
b876461c
...
...
@@ -14,6 +14,6 @@
-
name
:
Update /etc/hosts
lineinfile
:
dest
:
/etc/hosts
regexp
:
"
^127
.0.1
.1"
regexp
:
"
^127
\
.0
\
.1
\
.1"
line
:
"
127.0.1.1{{
'
\t
'
}}{{
hostname_fqdn.split('.')[0]
}}{{
'
\t
'
}}{{
hostname_fqdn
}}{{
'
\t
'
}}localhost"
state
:
present
playbooks/roles/ansible-role-django-ida/templates/tasks/main.yml.j2
View file @
b876461c
...
...
@@ -163,11 +163,11 @@
- name: restart the application
supervisorctl:
state: restarted
supervisorctl_path: "{{ supervisor_ctl }}"
config: "{{ supervisor_cfg }}"
supervisorctl_path: "{{
'{{' }}
supervisor_ctl }}"
config: "{{
'{{' }}
supervisor_cfg }}"
name: "{{ '{{' }} {{ role_name }}_service_name }}"
when: not disable_edx_services
sudo_user: "{{ supervisor_service_user }}"
sudo_user: "{{
'{{' }}
supervisor_service_user }}"
tags:
- manage
- manage:start
...
...
@@ -175,9 +175,9 @@
- name: Copying nginx configs for {{ role_name }}
template:
src: "edx/app/nginx/sites-available/{{ role_name }}.j2"
dest: "{{ nginx_sites_available_dir }}/{{ role_name }}"
dest: "{{
'{{' }}
nginx_sites_available_dir }}/{{ role_name }}"
owner: root
group: "{{ common_web_user }}"
group: "{{
'{{' }}
common_web_user }}"
mode: 0640
notify: reload nginx
tags:
...
...
@@ -186,8 +186,8 @@
- name: Creating nginx config links for {{ role_name }}
file:
src: "{{ nginx_sites_available_dir }}/{{ role_name }}"
dest: "{{ nginx_sites_enabled_dir }}/{{ role_name }}"
src: "{{
'{{' }}
nginx_sites_available_dir }}/{{ role_name }}"
dest: "{{
'{{' }}
nginx_sites_enabled_dir }}/{{ role_name }}"
state: link
owner: root
group: root
...
...
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