use become instead of sudo

parent 4f564398
- name: Deploy Analytics API
hosts: all
sudo: True
become: True
gather_facts: True
vars:
serial_count: 1
......
- name: Deploy dependencies needed to run edx-analytics-pipeline
hosts: all
sudo: True
become: True
gather_facts: True
vars:
serial_count: 1
......@@ -43,11 +43,10 @@
tags:
- devstack:start
# - name: refresh registered entrypoints
# shell: ". {{ analytics_pipeline_venv_dir }}/bin/activate && make develop-local"
# args:
# chdir: "{{ analytics_pipeline_code_dir }}"
# environment: analytics_pipeline_install_env
# ignore_errors: yes
# tags:
# - devstack:start
- name: refresh registered entrypoints
shell: ". {{ analytics_pipeline_venv_dir }}/bin/activate && make develop-local"
args:
chdir: "{{ analytics_pipeline_code_dir }}"
environment: analytics_pipeline_install_env
tags:
- devstack:start
- name: Deploy Insights
hosts: all
sudo: True
become: True
gather_facts: True
vars:
serial_count: 1
......
......@@ -29,7 +29,7 @@
#
# - name: Deploy all dependencies of edx-analytics-pipeline to the node
# hosts: all
# sudo: True
# become: True
# gather_facts: True
# roles:
# - analytics_pipeline
......@@ -41,7 +41,7 @@
command: make system-requirements
args:
chdir: "{{ analytics_pipeline_code_dir }}"
sudo: True
become: True
tags:
- install
- install:system-requirements
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment