mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
Fix ansible-lint E208 by setting file modes in file and copy tasks.
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
owner: dirsrv
|
||||
group: dirsrv
|
||||
path: "{{ item }}"
|
||||
mode: 0770
|
||||
loop:
|
||||
- /var/lock/dirsrv/
|
||||
- /var/lock/dirsrv/slapd-TEST-LOCAL/
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
copy:
|
||||
src: "{{ item }}"
|
||||
dest: "/root/{{ item | basename }}"
|
||||
mode: preserve
|
||||
force: yes
|
||||
- name: Install - Extend ipaserver_external_cert_files with "/root/{{ item | basename }}"
|
||||
set_fact:
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
file:
|
||||
path: "/root/ca-less-test"
|
||||
state: directory
|
||||
mode: 0775
|
||||
|
||||
- name: Copy CA certificate
|
||||
copy:
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
file:
|
||||
path: "/root/ca-less-test"
|
||||
state: directory
|
||||
mode: 0775
|
||||
|
||||
- name: Copy CA certificate
|
||||
copy:
|
||||
|
||||
@@ -42,6 +42,7 @@
|
||||
src: "{{ groups.ipaserver[0] + '-chain.crt' }}"
|
||||
dest: "/root/chain.crt"
|
||||
force: yes
|
||||
mode: preserve
|
||||
|
||||
roles:
|
||||
- role: ipaserver
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
copy:
|
||||
src: "{{ playbook_dir }}/{{ item }}"
|
||||
dest: "{{ ansible_facts['env'].HOME }}/{{ item }}"
|
||||
mode: 0644
|
||||
with_items:
|
||||
- A_private.pem
|
||||
- A_public.pem
|
||||
|
||||
Reference in New Issue
Block a user