Files @ 893d2f1e7ddd
Branch filter:

Location: majic-ansible-roles/testsite/playbooks/roles/phpinfo/tasks/main.yml

branko
MAR-218: Update instructions for running the tests.
---

- name: Create directory for hosting the application
  ansible.builtin.file:
    dest: "/var/www/phpinfo.{{ testsite_domain }}/htdocs/"
    state: directory
    owner: "admin-phpinfo_{{ testsite_domain_underscores }}"
    group: "web-phpinfo_{{ testsite_domain_underscores }}"
    mode: "02750"

- name: Deploy the index.php
  ansible.builtin.copy:
    src: "index.php"
    dest: "/var/www/phpinfo.{{ testsite_domain }}/htdocs/index.php"
    owner: "admin-phpinfo_{{ testsite_domain_underscores }}"
    group: "web-phpinfo_{{ testsite_domain_underscores }}"
    mode: "0640"