From 7349dc9b306b873296aa48fed68416e9e3b24358 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sun, 3 Nov 2019 13:42:07 +0800 Subject: [PATCH] Clone the nginx config from the git repository. --- cookbooks/nginx/webadm.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cookbooks/nginx/webadm.rb b/cookbooks/nginx/webadm.rb index 35f6e5e..03fdb5b 100644 --- a/cookbooks/nginx/webadm.rb +++ b/cookbooks/nginx/webadm.rb @@ -39,3 +39,10 @@ end password ENV['ITAMAE_PASSWORD'] end end + +# Create `repo` directory: +git '/home/webadm/repo/nginx-config' do + user 'webadm' + repository 'https://gitea.kazu634.com/kazu634/nginx-config.git' +end +