Sha256: a5b358128173e7fa78c2dfdb83bfe3fdacf082f9e764cb53894ff63688b65b3f

Contents?: true

Size: 551 Bytes

Versions: 2

Compression:

Stored size: 551 Bytes

Contents

---
- name: install apache
  yum:
    name: httpd
    state: present
- name: enable cors
  lineinfile:
    dest: /etc/httpd/conf/httpd.conf
    line: 'Header set Access-Control-Allow-Origin "*"'
    # regexp: '<Directory "/var/www/html">'
    insertafter: '<Directory "/var/www/html">'
- name: remove firewall
  yum:
    name: firewalld
    state: removed
- name: symlink /var/www/html/v to /vagrant/tmp
  file:
    path: /var/www/html/v
    src: /vagrant/tmp
    state: link
    force: yes
- name: restart httpd
  service: name=httpd state=restarted

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
abrizer-0.3.0 ansible/roles/apache/tasks/main.yml
abrizer-0.2.0 ansible/roles/apache/tasks/main.yml