diff --git a/testsite/playbooks/roles/phpinfo/tasks/main.yml b/testsite/playbooks/roles/phpinfo/tasks/main.yml new file mode 100644 index 0000000000000000000000000000000000000000..44bd5fbefc08cd1c645f79ba10fb9b35b3a3212f --- /dev/null +++ b/testsite/playbooks/roles/phpinfo/tasks/main.yml @@ -0,0 +1,9 @@ +--- + +- name: Create directory for hosting the application + file: dest="/var/www/phpinfo.example.com/htdocs/" state=directory + owner="admin" group="web-phpinfo_example_com" mode=2750 + +- name: Deploy the index.php + copy: src="index.php" dest="/var/www/phpinfo.example.com/htdocs/index.php" + owner="admin" group="web-phpinfo_example_com" mode=640