Sha256: 466dd1930881d03f02d7a72ca7d41d6c05c3e9e5130c5134cd29acf31672f37f

Contents?: true

Size: 817 Bytes

Versions: 3

Compression:

Stored size: 817 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: enable range requests
  lineinfile:
    dest: /etc/httpd/conf/httpd.conf
    line: 'Header set Access-Control-Allow-Headers Range'
    insertafter: 'Header set Access-Control-Allow-Origin "*"'
- 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
- name: enable httpd
  service:
    name: httpd
    enabled: yes

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
abrizer-0.6.0 ansible/roles/apache/tasks/main.yml
abrizer-0.5.0 ansible/roles/apache/tasks/main.yml
abrizer-0.4.0 ansible/roles/apache/tasks/main.yml