Massive user refactor

This commit is contained in:
2020-04-22 18:04:16 -06:00
parent 429dd8e5a7
commit 5a9254097e
26 changed files with 896 additions and 123 deletions

View File

@@ -22,7 +22,7 @@
args:
chdir: '{{ base }}'
# Ensures this command only runs if the dir does NOT exist
creates: '{{ path }}'
creates: '{{ path }}/apps/frappe'
when: frappe_repo is undefined
# Run frappe bench init with custom repo
@@ -33,7 +33,7 @@
args:
chdir: '{{ base }}'
# Ensures this command only runs if the dir does NOT exist
creates: '{{ path }}'
creates: '{{ path }}/apps/frappe'
when: frappe_repo is defined
# Create frappe-bench supervisor configs

View File

@@ -18,6 +18,7 @@
# Ensure this runs only once
creates: ~/.config/ansible-flag-mysql-password-enabled
notify: restart mysql
ignore_errors: yes
# Copy MariaDB /etc/mysql/mariadb.conf.d/60-frappe.cnf
- name: Copying /etc/mysql/mariadb.conf.d/60-frappe.cnf

View File

@@ -0,0 +1,7 @@
---
# Install wkhtmltopdf
- name: Installing wkhtmltopdf
apt:
update_cache: yes
state: present
name: wkhtmltopdf