Changeset 3721 in MondoRescue


Ignore:
Timestamp:
Aug 23, 2019, 11:14:34 AM (5 years ago)
Author:
Bruno Cornec
Message:

setup pb keys for web delivery

File:
1 edited

Legend:

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

    r3720 r3721  
    4141  tags: httpd
    4242
     43- name: Configure Apache .ssh directory
     44  file: path=/var/www/.ssh state=directory owner=apache group=apache mode=0700
     45
     46- name: Configure Apache authorized_keys file
     47  file: path=/var/www/.ssh/authorized_keys owner=apache group=apache mode=0700 state=touch modification_time=preserve access_time=preserve
     48
     49- name: Copy public keys for pb access
     50  lineinfile: destfile=/var/www/.ssh/authorized_keys state=present line='{{ pbkey }}' mode=0600 backup=yes owner=apache group=apache
     51  tags: httpd
     52
    4353- name: Check that Apache is running and enabled
    4454  service: name=httpd state=started enabled=yes
Note: See TracChangeset for help on using the changeset viewer.