From 8cc502ede6bf01d18cb92ecbfae54318c8df9d4d Mon Sep 17 00:00:00 2001 From: lavenderguitar Date: Sun, 6 Feb 2022 23:17:05 -0500 Subject: [PATCH] Install all dependencies, install jekyll, and create deploy directories --- tasks/main.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tasks/main.yml diff --git a/tasks/main.yml b/tasks/main.yml new file mode 100644 index 0000000..86fd42a --- /dev/null +++ b/tasks/main.yml @@ -0,0 +1,22 @@ +--- +- include_tasks: deploy_user.yml +- include_tasks: install_ruby.yml +- include_tasks: dependencies.yml + +- name: Install jekyll + gem: + name: jekyll + state: present + include_dependencies: True + user_install: False + become: yes + +- name: Setup deploy directories + file: + state: directory + path: "{{ item }}" + owner: "{{ deploy_user }}" + group: "{{ deploy_group }}" + mode: 0755 + with_items: "{{ deploy_dirs }}" + become: yes \ No newline at end of file