From 6dd3a5b7a7373065422aee0188adad79276b4eab Mon Sep 17 00:00:00 2001 From: Kris Lamoureux Date: Mon, 4 Nov 2019 21:26:03 -0500 Subject: [PATCH] Add variable wordpress container name --- roles/wordpress/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/wordpress/tasks/main.yml b/roles/wordpress/tasks/main.yml index 2005569..87ebd16 100644 --- a/roles/wordpress/tasks/main.yml +++ b/roles/wordpress/tasks/main.yml @@ -12,7 +12,7 @@ - name: Start WordPress container docker_container: - name: wordpress + name: "{{ wordpress_name }}" image: wordpress:{{ wordpress_version }} restart_policy: always volumes: wordpress:/var/www/html