Update dir_creation.yml

remplacer le module file par shell pour le chown
This commit is contained in:
Yacine31
2023-04-19 14:49:27 +02:00
parent 638830e525
commit e13764a6ae

View File

@@ -15,7 +15,11 @@
# ./runInstaller # ./runInstaller
- name: Création du répertoire oracle - name: Création du répertoire oracle
file: path={{ item }} mode=775 owner=oracle group=oinstall state=directory recurse=yes shell: |
mkdir -p {{ item }}
chown -R oracle:oinstall {{ item }}
chmod -R 775 {{ item }}
# file: path={{ item }} mode=775 owner=oracle group=oinstall state=directory recurse=yes
with_items: with_items:
- "{{ oracle_base }}" - "{{ oracle_base }}"
- "{{ oracle_inventory }}" - "{{ oracle_inventory }}"