Changeset 3721 in MondoRescue
- Timestamp:
- Aug 23, 2019, 11:14:34 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/ansible/roles/httpd/tasks/main.yml
r3720 r3721 41 41 tags: httpd 42 42 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 43 53 - name: Check that Apache is running and enabled 44 54 service: name=httpd state=started enabled=yes
Note:
See TracChangeset
for help on using the changeset viewer.