mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-28 10:24:47 +00:00
Fix ansible-lint E208 by setting file modes in file and copy tasks.
This commit is contained in:
@@ -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