Files @ b4ac65219ef1
Branch filter:

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

branko
MAR-34: Small usability improvements, not related to original issue. Improved the ssh-keyscan command a bit to include IP addresses in output as well. Store Ansible retry files locally in the retry directory (relative to testsite).
1
2
3
4
5
6
7
8
9
---

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

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