Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Commit

Permalink
Lots of splitting vars over roles
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Hendriks committed Jul 23, 2019
1 parent 32c7614 commit 6344db9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 22 deletions.
1 change: 0 additions & 1 deletion roles/mariadb/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
- name: "Ensure mariadb service runs immediately and on startup"
systemd:
name: mariadb
enabled: yes
state: started
daemon_reload: yes
tags: installation
Expand Down
13 changes: 0 additions & 13 deletions roles/nginx/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,6 @@
notify: Restart nginx
tags: installation

- name: Copy main page
copy:
src: "{{ role_path }}/files/index.html"
dest: /var/www/html/
tags: installation

- name: Deploy main configuration file
template:
src: default.conf.j2
dest: /etc/nginx/conf.d/default.conf
notify: Restart nginx
tags: configuration

- name: Start nginx on boot
systemd:
name: nginx
Expand Down
8 changes: 0 additions & 8 deletions roles/web/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,11 @@
tags:
- git_pull

# Install Node.js
- import_tasks: nodejs.yml

# Do npm install
- import_tasks: npm.yml
tags:
- git_pull

# Install and run nginx
- import_tasks: nginx.yml
tags:
- git_pull

# Install and run pm2
- import_tasks: pm2.yml
tags:
Expand Down

0 comments on commit 6344db9

Please sign in to comment.