[communityblog] make ansible keep the communityblog theme up to date, since it does not seem to be packaged

Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
Rick Elrod 2019-03-19 16:03:18 +00:00
parent 604284ea4c
commit b8eea5a90b

View file

@ -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