Update dir_creation.yml
remplacer le module file par shell pour le chown
This commit is contained in:
@@ -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 }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user