YAML syntax for ansible task

parent eefa76e1
# Installs packages to run edx locally on a single instance
#
---
- name: install packages needed for single server
apt: pkg={{ item }} install_recommends=yes state=present
with_items: edxlocal_debian_pkgs
- name: Install packages needed for single server
apt:
name: "{{ item }}"
install_recommends: yes
state: present
with_items: "{{ edxlocal_debian_pkgs }}"
# TODO: Add a test to make sure mysql is running.
......@@ -62,7 +64,6 @@
priv: "{{ EDX_NOTES_API_MYSQL_DB_NAME }}.*:SELECT,INSERT,UPDATE,DELETE"
when: EDX_NOTES_API_MYSQL_DB_USER is defined
- name: setup the read-only db user
mysql_user:
name: "{{ COMMON_MYSQL_READ_ONLY_USER }}"
......
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