From b8eea5a90bb13bbbc2561d88b3e377b779235000 Mon Sep 17 00:00:00 2001 From: Rick Elrod Date: Tue, 19 Mar 2019 16:03:18 +0000 Subject: [PATCH] [communityblog] make ansible keep the communityblog theme up to date, since it does not seem to be packaged Signed-off-by: Rick Elrod --- playbooks/hosts/communityblog.fedorainfracloud.org.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/playbooks/hosts/communityblog.fedorainfracloud.org.yml b/playbooks/hosts/communityblog.fedorainfracloud.org.yml index e0e00d10e3..e3b8924619 100644 --- a/playbooks/hosts/communityblog.fedorainfracloud.org.yml +++ b/playbooks/hosts/communityblog.fedorainfracloud.org.yml @@ -44,6 +44,7 @@ - unzip - postfix - wordpress + - git - name: enable httpd service service: name=httpd enabled=yes state=started @@ -54,6 +55,12 @@ - name: enable local postfix service service: name=postfix enabled=yes state=started + - name: clone (or update) community blog theme + git: repo=https://pagure.io/communityblog-theme.git dest=/usr/share/wordpress/wp-content/themes/community-theme-git + + - name: ensure symlink exists for theme + file: src=/usr/share/wordpress/wp-content/themes/community-theme-git/community-theme dest=/usr/share/wordpress/wp-content/themes/communityblog-theme-0.02 state=link + roles: - basessh - nagios_client