Fixes for directorys

This commit is contained in:
Alexander Böhm 2021-03-18 20:26:31 +01:00
parent 49d0055198
commit c371c1e4af
2 changed files with 11 additions and 2 deletions

View File

@ -4,7 +4,7 @@
state: directory
owner: root
group: root
mode: u=rw,g=r,o=r
mode: u=rwx,g=rx,o=rx
- name: copy fai profiles
synchronize:
@ -15,6 +15,14 @@
recursive: yes
register: fai_profiles
- name: create directory for apt proxy settings
file:
path: "{{ fai_configdir }}/files/etc/apt/apt.conf.d/00-proxy"
state: directory
owner: root
group: root
mode: u=rwx,g=rx,o=rx
- name: Set APT proxy
template:
src: fai-profile-00-proxy.yml

View File

@ -3,7 +3,8 @@
name: [tftpd-hpa]
state: present
- file:
- name: create tftp fai directory
file:
name: /srv/tftp/fai
state: directory
owner: root