Skip to content
Snippets Groups Projects
Commit 0782e260 authored by Rafael Guterres Jeffman's avatar Rafael Guterres Jeffman
Browse files

Fix ansible-lint E208 by setting file modes in file and copy tasks.

parent 1054bdd0
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment