Changeset 3792 in MondoRescue


Ignore:
Timestamp:
Jan 3, 2023, 12:55:40 AM (17 months ago)
Author:
Bruno Cornec
Message:

Adds mod_proxy as required for gitea for now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/ansible/roles/httpd/tasks/main.yml

    r3763 r3792  
    33- name: Check that Apache is installed
    44  urpmi: name=apache state=installed no-recommends=yes
    5   tags: httpd
     5
     6- name: Check that Apache mod_proxy is installed
     7  urpmi: name=apache-mod_proxy state=installed no-recommends=yes
    68
    79- name: Configure Apache log directories
     
    2527  notify:
    2628    - restart httpd
    27   tags: httpd
    2829
    2930- name: Configure Apache upload max
     
    3132  notify:
    3233    - restart httpd
    33   tags: httpd
    3434
    3535- name: Setup httpd restart by cron
    3636  cron: name=httpd-restart minute=43 hour=23 user=root job="/usr/bin/systemctl restart httpd" cron_file=httpd-restart state=present backup=yes
    37   tags: httpd
    3837
    3938- name: Configure Apache logrotate
    4039  copy: src=files/mondorescue.logrot dest=/etc/logrotate.d/mondorescue owner=root group=root mode=0644 backup=yes
    41   tags: httpd
    4240
    4341- name: Configure Apache .ssh directory
     
    4947- name: Copy public keys for pb access
    5048  lineinfile: destfile=/var/www/.ssh/authorized_keys state=present line='{{ pbkey }}' mode=0600 backup=yes owner=apache group=apache
    51   tags: httpd
    5249
    5350- name: Check that Apache is running and enabled
    5451  service: name=httpd state=started enabled=yes
    55   tags: httpd
Note: See TracChangeset for help on using the changeset viewer.