From f13dcbd958dce02192efeec89bacccb0e7d7dd03 Mon Sep 17 00:00:00 2001 From: Saurabh Date: Tue, 29 Aug 2017 19:18:05 +0530 Subject: [PATCH] remove distribution specific files --- playbooks/develop/centos.yml | 29 ----------------------------- playbooks/develop/install.yml | 9 --------- playbooks/develop/ubuntu.yml | 35 ----------------------------------- 3 files changed, 73 deletions(-) delete mode 100755 playbooks/develop/centos.yml delete mode 100644 playbooks/develop/ubuntu.yml diff --git a/playbooks/develop/centos.yml b/playbooks/develop/centos.yml deleted file mode 100755 index 8cc9c2d9..00000000 --- a/playbooks/develop/centos.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -- include: setup_essentials.yml - -- name: "Setup prerequisites, mariadb, wkhtmltopdf, nodejs and psutil" - hosts: localhost - become: yes - become_user: root - vars: - mysql_conf_tpl: ../files/mariadb_config.cnf - mysql_secure_installation: True - roles: - - mariadb - - wkhtmltopdf - - nodejs - - psutil - -- name: setup bench and dev environment - hosts: localhost - vars: - bench_repo_path: "/home/{{ ansible_user_id }}/.bench" - bench_path: "/home/{{ ansible_user_id }}/{{ bench_name }}" - tasks: - # setup frappe-bench - - include: includes/setup_bench.yml - when: not run_travis and not without_bench_setup - - # setup development environment - - include: includes/setup_dev_env.yml - when: not run_travis and not production diff --git a/playbooks/develop/install.yml b/playbooks/develop/install.yml index eb44b08c..98b8a054 100644 --- a/playbooks/develop/install.yml +++ b/playbooks/develop/install.yml @@ -34,12 +34,3 @@ # setup development environment - include: includes/setup_dev_env.yml when: not run_travis and not production - -# - include: ubuntu.yml -# when: ansible_distribution == 'Ubuntu' -# -# - include: centos.yml -# when: ansible_distribution == 'CentOS' -# -# - include: debian.yml -# when: ansible_distribution == 'Debian' \ No newline at end of file diff --git a/playbooks/develop/ubuntu.yml b/playbooks/develop/ubuntu.yml deleted file mode 100644 index c6799c0f..00000000 --- a/playbooks/develop/ubuntu.yml +++ /dev/null @@ -1,35 +0,0 @@ ---- -- include: setup_essentials.yml - -- name: "Setup prerequisites, mariadb, wkhtmltopdf, nodejs and psutil" - hosts: localhost - become: yes - become_user: root - vars: - bench_repo_path: "/home/{{ ansible_user_id }}/.bench" - bench_path: "/home/{{ ansible_user_id }}/frappe-bench" - mysql_conf_tpl: ../files/mariadb_config.cnf - mysql_secure_installation: True - roles: - - prerequisites - - mariadb - - wkhtmltopdf - - nodejs - - psutil - -- name: setup bench and dev environment - hosts: localhost - vars: - bench_repo_path: "/home/{{ ansible_user_id }}/.bench" - bench_path: "/home/{{ ansible_user_id }}/frappe-bench" - tasks: - - debug: - var: run_travis - - # setup frappe-bench - - include: includes/setup_bench.yml - when: not without_bench_setup and not run_travis - - # setup development environment - - include: includes/setup_dev_env.yml - when: not production and not run_travis and not without_bench_setup