반응형
SMALL
[WARNING]: Consider using the file module with owner rather than running 'chown'. If you need to use command because file is insufficient you can add 'warn: false' to this command task or set
'command_warnings=False' in ansible.cfg to get rid of this message.
- name: grant mysql to datadir
file:
path: /data/mysql
owner: mysql
group: mysql
recurse: yes
recurse 옵션 사용
반응형
LIST